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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001251/0.001251, allocations: 195 kB / 16.14 MB, free: 6.707 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 / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 279.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8979/0.8979, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 93.95 kB / 0.5946 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 86.98 MB / 0.6795 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005274/0.1411, allocations: 4.471 MB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4039/0.5451, allocations: 148.4 MB / 0.8289 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000786/0.5459, allocations: 16.28 kB / 0.8289 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.5464, allocations: 147 kB / 0.829 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.548, allocations: 453.2 kB / 0.8295 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.5495, allocations: 0.7313 MB / 0.8302 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.5507, allocations: 1.277 MB / 0.8314 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007688/0.5515, allocations: 0.611 MB / 0.832 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.5522, allocations: 442.9 kB / 0.8324 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.5527, allocations: 495.8 kB / 0.8329 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.5528, allocations: 58.41 kB / 0.833 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.5536, allocations: 404.1 kB / 0.8334 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.5538, allocations: 249.2 kB / 0.8336 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.5542, allocations: 0.5064 MB / 0.8341 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.5558, allocations: 1.564 MB / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5558, allocations: 1.094 kB / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5559, allocations: 0 / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.5559, allocations: 4 kB / 0.8356 GB, free: 15.85 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.002803/0.5587, allocations: 1.467 MB / 0.8371 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5587, allocations: 10.09 kB / 0.8371 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.5589, allocations: 141.3 kB / 0.8372 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.5598, allocations: 193.9 kB / 0.8374 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.5609, allocations: 0.7645 MB / 0.8381 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.561, allocations: 65.81 kB / 0.8382 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.5611, allocations: 83.91 kB / 0.8383 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.5627, allocations: 0.9705 MB / 0.8392 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.5627, allocations: 3.938 kB / 0.8392 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.5628, allocations: 36.94 kB / 0.8393 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.5628, allocations: 25.75 kB / 0.8393 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.5646, allocations: 1.158 MB / 0.8404 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/0.5686, allocations: 2.676 MB / 0.843 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.57, allocations: 0.8476 MB / 0.8439 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.5705, allocations: 322 kB / 0.8442 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.5706, allocations: 30.7 kB / 0.8442 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.5716, allocations: 0.5415 MB / 0.8447 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.585e-06/0.5716, allocations: 0 / 0.8447 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003189/0.5748, allocations: 1.286 MB / 0.846 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5749, allocations: 192.2 kB / 0.8462 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.5758, allocations: 0.6573 MB / 0.8468 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-05/0.5759, allocations: 43.64 kB / 0.8468 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.5762, allocations: 408.6 kB / 0.8472 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.5764, allocations: 283.7 kB / 0.8475 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.5767, allocations: 156 kB / 0.8477 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5768, allocations: 395 kB / 0.848 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.5773, allocations: 269 kB / 0.8483 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.578, allocations: 385.4 kB / 0.8487 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5791, allocations: 0.6358 MB / 0.8493 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5791, allocations: 0 / 0.8493 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001999/0.5811, allocations: 0.868 MB / 0.8501 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5811, allocations: 8.688 kB / 0.8501 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5811, allocations: 0 / 0.8501 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.5817, allocations: 85.67 kB / 0.8502 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.5824, allocations: 168.4 kB / 0.8504 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.5844, allocations: 1.515 MB / 0.8519 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/0.5853, allocations: 95.67 kB / 0.8519 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.5853, allocations: 37.5 kB / 0.852 GB, free: 6.082 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.0005545/0.5859, allocations: 272.9 kB / 0.8522 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.5861, allocations: 88.44 kB / 0.8523 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.5887, allocations: 1.164 MB / 0.8535 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5887, allocations: 12.25 kB / 0.8535 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5887, allocations: 9.297 kB / 0.8535 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5888, allocations: 7.922 kB / 0.8535 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.5901, allocations: 0.9429 MB / 0.8544 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5901, allocations: 0 / 0.8544 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.5907, allocations: 152.5 kB / 0.8546 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005263/0.5912, allocations: 87.36 kB / 0.8546 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/0.5913, allocations: 30.5 kB / 0.8547 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.5932, allocations: 1.546 MB / 0.8562 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5932, allocations: 0 / 0.8562 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.5955, allocations: 0.9982 MB / 0.8572 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00059/0.5961, allocations: 285.5 kB / 0.8574 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.5964, allocations: 23.59 kB / 0.8574 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/0.5972, allocations: 68.42 kB / 0.8575 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.5975, allocations: 80.16 kB / 0.8576 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-05/0.5976, allocations: 40.64 kB / 0.8576 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008102/0.5984, allocations: 482.2 kB / 0.8581 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5984, allocations: 0 / 0.8581 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001203/0.5996, allocations: 319.8 kB / 0.8584 GB, free: 1.617 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.004213/0.6038, allocations: 2.05 MB / 0.8604 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.606, allocations: 0.8516 MB / 0.8612 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.6061, allocations: 6.766 kB / 0.8612 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6072, allocations: 0.5476 MB / 0.8618 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.609, allocations: 276.5 kB / 0.862 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.6251, allocations: 7.263 MB / 0.8691 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.626, allocations: 1.045 MB / 0.8701 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001155/0.6272, allocations: 265.3 kB / 0.8704 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007573/0.628, allocations: 403.1 kB / 0.8708 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of SimCode: time 1.853e-06/0.628, allocations: 4 kB / 0.8708 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.6687, allocations: 21.29 MB / 0.8916 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.669, allocations: 333.8 kB / 0.8919 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.963, allocations: 3.938 kB / 0.8919 GB, free: 5.832 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)