Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_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.004707/0.004708, allocations: 103 kB / 15.73 MB, free: 6.051 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.001055/0.001055, allocations: 195.8 kB / 16.67 MB, free: 5.98 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8579/0.8579, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 63.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3614, allocations: 80.91 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004265/0.3657, allocations: 4.075 MB / 0.6681 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.5086, allocations: 150.5 MB / 0.8151 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/0.5094, allocations: 15.94 kB / 0.8151 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.51, allocations: 170.5 kB / 0.8152 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.5113, allocations: 471.3 kB / 0.8157 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.513, allocations: 0.7887 MB / 0.8165 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009575/0.514, allocations: 1.172 MB / 0.8176 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.5147, allocations: 0.6146 MB / 0.8182 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.5151, allocations: 426.5 kB / 0.8186 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.5155, allocations: 446 kB / 0.819 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.5157, allocations: 104 kB / 0.8191 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007186/0.5164, allocations: 475.6 kB / 0.8196 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.5166, allocations: 267.2 kB / 0.8198 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.517, allocations: 497.3 kB / 0.8203 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.5183, allocations: 1.495 MB / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5183, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5184, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5184, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001833/0.5202, allocations: 1.318 MB / 0.8231 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5202, allocations: 8.031 kB / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.5204, allocations: 127.1 kB / 0.8232 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.5212, allocations: 175.6 kB / 0.8234 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.5222, allocations: 0.7265 MB / 0.8241 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.5223, allocations: 62 kB / 0.8241 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.5224, allocations: 72 kB / 0.8242 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5236, allocations: 0.852 MB / 0.825 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.5237, allocations: 7.984 kB / 0.825 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.5237, allocations: 36 kB / 0.8251 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.5238, allocations: 20 kB / 0.8251 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.5253, allocations: 1.054 MB / 0.8261 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.5284, allocations: 2.363 MB / 0.8284 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5297, allocations: 0.8039 MB / 0.8292 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004464/0.5302, allocations: 270.4 kB / 0.8295 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.5302, allocations: 32.58 kB / 0.8295 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.5309, allocations: 421.8 kB / 0.8299 GB, free: 7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.424e-06/0.5309, allocations: 0 / 0.8299 GB, free: 7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002731/0.5336, allocations: 1.07 MB / 0.8309 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.5337, allocations: 188.5 kB / 0.8311 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.5343, allocations: 0.5822 MB / 0.8317 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.5344, allocations: 41.7 kB / 0.8317 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.5346, allocations: 372.3 kB / 0.8321 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.5348, allocations: 236.6 kB / 0.8323 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.535, allocations: 130.2 kB / 0.8324 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5351, allocations: 374.8 kB / 0.8328 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.5355, allocations: 221.2 kB / 0.833 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.536, allocations: 314.7 kB / 0.8333 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.5369, allocations: 0.5273 MB / 0.8338 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.537, allocations: 3.938 kB / 0.8338 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001557/0.5385, allocations: 0.7042 MB / 0.8345 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5385, allocations: 4 kB / 0.8345 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5386, allocations: 4.094 kB / 0.8345 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005615/0.5391, allocations: 84.81 kB / 0.8346 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.5397, allocations: 131.8 kB / 0.8347 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.5415, allocations: 1.642 MB / 0.8363 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004761/0.542, allocations: 75.45 kB / 0.8364 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.5421, allocations: 23.98 kB / 0.8364 GB, free: 20 kB / 0.6544 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 (73): * Single equations (assignments): 72 * 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.0003286/0.5424, allocations: 257.8 kB / 0.8367 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.5426, allocations: 75.09 kB / 0.8367 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.5446, allocations: 0.9665 MB / 0.8377 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5446, allocations: 8 kB / 0.8377 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5446, allocations: 0 / 0.8377 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.5447, allocations: 7.922 kB / 0.8377 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.5474, allocations: 1.833 MB / 0.8395 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5474, allocations: 11.88 kB / 0.8395 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.5479, allocations: 131.9 kB / 0.8396 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.5483, allocations: 72.73 kB / 0.8397 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.5484, allocations: 23.98 kB / 0.8397 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.5502, allocations: 1.662 MB / 0.8413 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5502, allocations: 4.031 kB / 0.8413 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.5519, allocations: 0.8952 MB / 0.8422 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.5522, allocations: 263.8 kB / 0.8425 GB, free: 9.559 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.5523, allocations: 16 kB / 0.8425 GB, free: 9.543 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.5529, allocations: 47.95 kB / 0.8425 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.553, allocations: 60.91 kB / 0.8426 GB, free: 9.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/0.5531, allocations: 32.05 kB / 0.8426 GB, free: 9.406 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004821/0.5535, allocations: 419.1 kB / 0.843 GB, free: 9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5535, allocations: 4 kB / 0.843 GB, free: 8.996 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007528/0.5543, allocations: 283.3 kB / 0.8433 GB, free: 8.719 MB / 0.67 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 (81): * Single equations (assignments): 78 * 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.003112/0.5574, allocations: 1.956 MB / 0.8452 GB, free: 6.918 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.5588, allocations: 0.7122 MB / 0.8459 GB, free: 6.191 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5589, allocations: 0 / 0.8459 GB, free: 6.191 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.5597, allocations: 484.4 kB / 0.8464 GB, free: 5.707 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5608, allocations: 274.8 kB / 0.8466 GB, free: 5.461 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/0.5699, allocations: 5.809 MB / 0.8523 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.5704, allocations: 1.002 MB / 0.8533 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006403/0.5711, allocations: 246 kB / 0.8535 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.5715, allocations: 347.3 kB / 0.8538 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.5715, allocations: 4 kB / 0.8538 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.091/1.663, allocations: 19.66 MB / 0.873 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/16.21, allocations: 6.953 kB / 0.873 GB, free: 191.8 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)