Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.001158/0.001158, 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.001167/0.001167, allocations: 189.5 kB / 16.13 MB, free: 6.668 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 275.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.869/0.869, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 89.16 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005019/0.124, allocations: 4.408 MB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3554/0.4794, allocations: 148.3 MB / 0.8287 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.48, allocations: 18.62 kB / 0.8287 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.4805, allocations: 135.7 kB / 0.8288 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.4816, allocations: 441.4 kB / 0.8292 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.4828, allocations: 0.7318 MB / 0.8299 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007792/0.4836, allocations: 1.253 MB / 0.8312 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.4843, allocations: 0.6134 MB / 0.8318 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.4846, allocations: 419.3 kB / 0.8322 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.485, allocations: 490.2 kB / 0.8326 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.4851, allocations: 57.06 kB / 0.8327 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.4857, allocations: 396.2 kB / 0.8331 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.4859, allocations: 250.1 kB / 0.8333 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.4862, allocations: 0.4932 MB / 0.8338 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4872, allocations: 1.546 MB / 0.8353 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4872, allocations: 1 kB / 0.8353 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4873, allocations: 0 / 0.8353 GB, free: 312 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.4873, allocations: 0 / 0.8353 GB, free: 312 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002239/0.4895, allocations: 1.452 MB / 0.8367 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.4896, allocations: 14.84 kB / 0.8367 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.4897, allocations: 137 kB / 0.8369 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008255/0.4905, allocations: 185.5 kB / 0.837 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.4914, allocations: 0.7576 MB / 0.8378 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.4914, allocations: 69 kB / 0.8378 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.4915, allocations: 86.67 kB / 0.8379 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4929, allocations: 0.9417 MB / 0.8388 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4929, allocations: 3.938 kB / 0.8388 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.493, allocations: 37.12 kB / 0.8389 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.493, allocations: 20.31 kB / 0.8389 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.4946, allocations: 1.126 MB / 0.84 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.4979, allocations: 2.542 MB / 0.8425 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.4992, allocations: 0.9117 MB / 0.8434 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.4997, allocations: 311.7 kB / 0.8437 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.4998, allocations: 39.47 kB / 0.8437 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007951/0.5006, allocations: 0.5101 MB / 0.8442 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.794e-06/0.5006, allocations: 0 / 0.8442 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.002764/0.5033, allocations: 1.238 MB / 0.8454 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.5034, allocations: 197.5 kB / 0.8456 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.5041, allocations: 0.6389 MB / 0.8462 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.5041, allocations: 43.14 kB / 0.8463 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.5044, allocations: 408.9 kB / 0.8467 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.5046, allocations: 267.5 kB / 0.8469 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.5048, allocations: 153.2 kB / 0.8471 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5049, allocations: 391.3 kB / 0.8474 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.5054, allocations: 253.1 kB / 0.8477 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.5059, allocations: 372.6 kB / 0.848 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009408/0.5069, allocations: 0.5991 MB / 0.8486 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5069, allocations: 2.406 kB / 0.8486 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001666/0.5085, allocations: 0.8282 MB / 0.8494 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5086, allocations: 4.312 kB / 0.8494 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5086, allocations: 3.281 kB / 0.8494 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.5091, allocations: 87.52 kB / 0.8495 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.5097, allocations: 161.4 kB / 0.8497 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.5114, allocations: 1.517 MB / 0.8511 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.512, allocations: 91.27 kB / 0.8512 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.5121, allocations: 34.69 kB / 0.8513 GB, free: 6.488 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003053/0.5124, allocations: 264.9 kB / 0.8515 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5125, allocations: 89.53 kB / 0.8516 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.5148, allocations: 1.136 MB / 0.8527 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5148, allocations: 10.34 kB / 0.8527 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5148, allocations: 7.922 kB / 0.8527 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.5148, allocations: 3.984 kB / 0.8527 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.5176, allocations: 2.033 MB / 0.8547 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5176, allocations: 0 / 0.8547 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.5182, allocations: 154.2 kB / 0.8549 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004571/0.5186, allocations: 81.66 kB / 0.8549 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.5187, allocations: 27.94 kB / 0.855 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.5203, allocations: 1.544 MB / 0.8565 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5203, allocations: 0 / 0.8565 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.5221, allocations: 1.044 MB / 0.8575 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.5224, allocations: 281.8 kB / 0.8578 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5225, allocations: 29.22 kB / 0.8578 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.5231, allocations: 68.48 kB / 0.8579 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.5233, allocations: 74.83 kB / 0.8579 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.5234, allocations: 38.41 kB / 0.858 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004504/0.5238, allocations: 466.2 kB / 0.8584 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5238, allocations: 0 / 0.8584 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000667/0.5245, allocations: 317.1 kB / 0.8587 GB, free: 1.379 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003061/0.5276, allocations: 2.104 MB / 0.8608 GB, free: 88 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.5289, allocations: 0.8325 MB / 0.8616 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5289, allocations: 0 / 0.8616 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008103/0.5297, allocations: 0.5409 MB / 0.8621 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5308, allocations: 278 kB / 0.8624 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5413, allocations: 7.111 MB / 0.8693 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5418, allocations: 1.033 MB / 0.8703 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007074/0.5425, allocations: 269.5 kB / 0.8706 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.543, allocations: 410.8 kB / 0.871 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.543, allocations: 3.938 kB / 0.871 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.059/3.602, allocations: 20.85 MB / 0.8913 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/3.603, allocations: 326.9 kB / 0.8917 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.683/13.29, allocations: 3.094 kB / 0.8917 GB, free: 6.074 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)