Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001243/0.001243, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001283, allocations: 188.1 kB / 16.25 MB, free: 6.629 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 286.8 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9416/0.9416, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 87.91 kB / 0.5948 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 86.97 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005184/0.1309, allocations: 4.48 MB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3988/0.5297, allocations: 148.5 MB / 0.8292 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006513/0.5304, allocations: 22.59 kB / 0.8292 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.5309, allocations: 137.9 kB / 0.8293 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5321, allocations: 478.4 kB / 0.8298 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5335, allocations: 0.7459 MB / 0.8305 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.5344, allocations: 1.37 MB / 0.8318 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.5351, allocations: 0.6225 MB / 0.8324 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.5355, allocations: 0.5053 MB / 0.8329 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.5359, allocations: 0.5237 MB / 0.8334 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.5361, allocations: 123.1 kB / 0.8336 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006332/0.5367, allocations: 465 kB / 0.834 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.537, allocations: 311.1 kB / 0.8343 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.5374, allocations: 0.5674 MB / 0.8349 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.5386, allocations: 1.618 MB / 0.8364 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5386, allocations: 1.938 kB / 0.8364 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5386, allocations: 0 / 0.8364 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.5387, allocations: 1.969 kB / 0.8364 GB, free: 15.55 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002364/0.541, allocations: 1.473 MB / 0.8379 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5411, allocations: 9.625 kB / 0.8379 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.5412, allocations: 138.9 kB / 0.838 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008436/0.5421, allocations: 192.3 kB / 0.8382 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.5429, allocations: 0.7686 MB / 0.839 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.543, allocations: 65.06 kB / 0.839 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.5431, allocations: 90.67 kB / 0.8391 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.5446, allocations: 0.9642 MB / 0.84 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5446, allocations: 0 / 0.84 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.5447, allocations: 40.88 kB / 0.8401 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.5447, allocations: 23.3 kB / 0.8401 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.5463, allocations: 1.156 MB / 0.8412 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.5498, allocations: 2.675 MB / 0.8438 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.5511, allocations: 0.8447 MB / 0.8447 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.5517, allocations: 323.8 kB / 0.845 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.5517, allocations: 38.64 kB / 0.845 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008299/0.5526, allocations: 0.5411 MB / 0.8455 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 1.954e-06/0.5526, allocations: 0 / 0.8455 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.00291/0.5555, allocations: 1.281 MB / 0.8468 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.5556, allocations: 195 kB / 0.847 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.5563, allocations: 0.6496 MB / 0.8476 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.5564, allocations: 43.08 kB / 0.8477 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.5566, allocations: 410.8 kB / 0.848 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.5568, allocations: 288.2 kB / 0.8483 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.557, allocations: 165.5 kB / 0.8485 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5572, allocations: 389 kB / 0.8488 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.5576, allocations: 269.2 kB / 0.8491 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.5582, allocations: 387.5 kB / 0.8495 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5592, allocations: 0.6294 MB / 0.8501 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5593, allocations: 1.906 kB / 0.8501 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001779/0.561, allocations: 0.8694 MB / 0.8509 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5611, allocations: 13.44 kB / 0.851 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5611, allocations: 2.594 kB / 0.851 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.5616, allocations: 82.67 kB / 0.851 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.5623, allocations: 170.3 kB / 0.8512 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.5641, allocations: 1.616 MB / 0.8528 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006562/0.5647, allocations: 100.2 kB / 0.8529 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.5648, allocations: 28.08 kB / 0.8529 GB, free: 5.828 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 (97): * Single equations (assignments): 96 * 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.000333/0.5651, allocations: 287.9 kB / 0.8532 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5653, allocations: 87.16 kB / 0.8533 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.5676, allocations: 1.163 MB / 0.8544 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5676, allocations: 10.44 kB / 0.8544 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5676, allocations: 3.75 kB / 0.8544 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5676, allocations: 6.547 kB / 0.8544 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/0.5685, allocations: 0.9499 MB / 0.8553 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5685, allocations: 0 / 0.8553 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.5691, allocations: 155.9 kB / 0.8555 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.5695, allocations: 71.98 kB / 0.8556 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.5696, allocations: 34.09 kB / 0.8556 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.5712, allocations: 1.66 MB / 0.8572 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5712, allocations: 0 / 0.8572 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.573, allocations: 0.9991 MB / 0.8582 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.5733, allocations: 277.8 kB / 0.8585 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5735, allocations: 27.62 kB / 0.8585 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.5741, allocations: 69.89 kB / 0.8585 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5742, allocations: 82.58 kB / 0.8586 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.5743, allocations: 41.06 kB / 0.8587 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004768/0.5748, allocations: 482.5 kB / 0.8591 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.074e-06/0.5748, allocations: 0 / 0.8591 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007174/0.5755, allocations: 317.1 kB / 0.8594 GB, free: 1.242 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.003133/0.5787, allocations: 2.055 MB / 0.8614 GB, free: 16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.5808, allocations: 1.082 MB / 0.8625 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5808, allocations: 1.812 kB / 0.8625 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.5817, allocations: 0.5474 MB / 0.863 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5827, allocations: 293.5 kB / 0.8633 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5937, allocations: 7.259 MB / 0.8704 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.5942, allocations: 1.046 MB / 0.8714 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000798/0.595, allocations: 278.5 kB / 0.8717 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.5956, allocations: 414 kB / 0.8721 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.5956, allocations: 0 / 0.8721 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.896/2.492, allocations: 21.89 MB / 0.8935 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/2.492, allocations: 334.2 kB / 0.8938 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/5.162, allocations: 0 / 0.8938 GB, free: 4.035 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)