Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 193.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7153/0.7153, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.17 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 80.2 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006499/0.148, allocations: 4.134 MB / 0.5835 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3669/0.5149, allocations: 148.1 MB / 0.7282 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006213/0.5156, allocations: 18.75 kB / 0.7282 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.5161, allocations: 134 kB / 0.7284 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.5174, allocations: 407.5 kB / 0.7287 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.5189, allocations: 0.6783 MB / 0.7294 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009361/0.5199, allocations: 1.108 MB / 0.7305 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/0.5206, allocations: 0.5894 MB / 0.7311 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.521, allocations: 381.3 kB / 0.7314 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004056/0.5215, allocations: 416.6 kB / 0.7318 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.5216, allocations: 54.53 kB / 0.7319 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007236/0.5223, allocations: 396.9 kB / 0.7323 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.5225, allocations: 218 kB / 0.7325 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.5229, allocations: 455.6 kB / 0.7329 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.5242, allocations: 1.399 MB / 0.7343 GB, free: 412 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5242, allocations: 0 / 0.7343 GB, free: 412 kB / 0.545 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5242, allocations: 0 / 0.7343 GB, free: 412 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.5242, allocations: 0 / 0.7343 GB, free: 412 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00204/0.5263, allocations: 1.333 MB / 0.7356 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5263, allocations: 12.7 kB / 0.7356 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.5264, allocations: 130 kB / 0.7357 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.5273, allocations: 176.9 kB / 0.7359 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.5282, allocations: 0.7082 MB / 0.7366 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.5283, allocations: 56.62 kB / 0.7366 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.233e-05/0.5284, allocations: 75.03 kB / 0.7367 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.5297, allocations: 0.8623 MB / 0.7375 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5297, allocations: 3.938 kB / 0.7375 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/0.5298, allocations: 35.91 kB / 0.7376 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.5298, allocations: 21.47 kB / 0.7376 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.5314, allocations: 1.056 MB / 0.7386 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.5347, allocations: 2.383 MB / 0.7409 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5359, allocations: 0.7932 MB / 0.7417 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.5364, allocations: 277.8 kB / 0.742 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/0.5364, allocations: 30.11 kB / 0.742 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.5372, allocations: 435.7 kB / 0.7424 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 9.608e-06/0.5372, allocations: 3.984 kB / 0.7424 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002643/0.5398, allocations: 1.067 MB / 0.7435 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.5399, allocations: 195.2 kB / 0.7437 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.5405, allocations: 0.5891 MB / 0.7442 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.5406, allocations: 41.98 kB / 0.7443 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.5408, allocations: 365.2 kB / 0.7446 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.541, allocations: 240.9 kB / 0.7449 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.5412, allocations: 137.5 kB / 0.745 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5414, allocations: 384.8 kB / 0.7454 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.5418, allocations: 212.8 kB / 0.7456 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.5423, allocations: 312.9 kB / 0.7459 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/0.5432, allocations: 0.5322 MB / 0.7464 GB, free: 8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5432, allocations: 0 / 0.7464 GB, free: 8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001618/0.5448, allocations: 0.7206 MB / 0.7471 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5449, allocations: 4 kB / 0.7471 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5449, allocations: 7.844 kB / 0.7471 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/0.5454, allocations: 76.78 kB / 0.7472 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.546, allocations: 139.8 kB / 0.7473 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.5479, allocations: 1.513 MB / 0.7488 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.5484, allocations: 76.2 kB / 0.7488 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.5485, allocations: 35.91 kB / 0.7489 GB, free: 5.293 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/0.5488, allocations: 245.8 kB / 0.7491 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5489, allocations: 75.06 kB / 0.7492 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.5511, allocations: 1 MB / 0.7502 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.5511, allocations: 12 kB / 0.7502 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.5511, allocations: 0 / 0.7502 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5511, allocations: 3.984 kB / 0.7502 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.554, allocations: 1.858 MB / 0.752 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.554, allocations: 0 / 0.752 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.5545, allocations: 147.7 kB / 0.7521 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/0.555, allocations: 80.77 kB / 0.7522 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.5551, allocations: 31.86 kB / 0.7522 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.5568, allocations: 1.552 MB / 0.7538 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5568, allocations: 4.062 kB / 0.7538 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5585, allocations: 0.9102 MB / 0.7547 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.5588, allocations: 259.8 kB / 0.7549 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.5589, allocations: 16 kB / 0.7549 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.5595, allocations: 55.17 kB / 0.755 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5596, allocations: 56.92 kB / 0.755 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.5597, allocations: 43.97 kB / 0.7551 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004608/0.5601, allocations: 431 kB / 0.7555 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5601, allocations: 0 / 0.7555 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007008/0.5609, allocations: 283.2 kB / 0.7557 GB, free: 14.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00308/0.5639, allocations: 1.953 MB / 0.7577 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.5652, allocations: 0.7196 MB / 0.7584 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5653, allocations: 0 / 0.7584 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.5661, allocations: 0.4926 MB / 0.7588 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5671, allocations: 245.7 kB / 0.7591 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5775, allocations: 6.411 MB / 0.7653 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.578, allocations: 1.008 MB / 0.7663 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007129/0.5788, allocations: 250.2 kB / 0.7666 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.5792, allocations: 347.3 kB / 0.7669 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5792, allocations: 0 / 0.7669 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7247/1.304, allocations: 19.02 MB / 0.7855 GB, free: 40 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/1.304, allocations: 296.6 kB / 0.7857 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.625, allocations: 3.5 kB / 0.7857 GB, free: 15.66 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)