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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 290.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 92.59 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 86.99 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006107/0.1527, allocations: 4.466 MB / 0.6846 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4221/0.5748, allocations: 150.8 MB / 0.8319 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007492/0.5756, allocations: 19.94 kB / 0.8319 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.5763, allocations: 178.6 kB / 0.8321 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.578, allocations: 0.5324 MB / 0.8326 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.5797, allocations: 0.8297 MB / 0.8334 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.581, allocations: 1.364 MB / 0.8347 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.5818, allocations: 0.6266 MB / 0.8353 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.5825, allocations: 0.4973 MB / 0.8358 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.583, allocations: 0.5167 MB / 0.8363 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.5832, allocations: 123.4 kB / 0.8364 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007932/0.584, allocations: 464.6 kB / 0.8369 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.5843, allocations: 317.2 kB / 0.8372 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.5847, allocations: 0.5724 MB / 0.8377 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5861, allocations: 1.617 MB / 0.8393 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5861, allocations: 0 / 0.8393 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5861, allocations: 0 / 0.8393 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.5861, allocations: 0 / 0.8393 GB, free: 15.82 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.002482/0.5886, allocations: 1.467 MB / 0.8408 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5887, allocations: 9.469 kB / 0.8408 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.5888, allocations: 146.5 kB / 0.8409 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.5898, allocations: 188.8 kB / 0.8411 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.5907, allocations: 0.7643 MB / 0.8418 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.5908, allocations: 68.62 kB / 0.8419 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.5909, allocations: 91.8 kB / 0.842 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.5924, allocations: 0.9624 MB / 0.8429 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.5925, allocations: 5.438 kB / 0.8429 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.5925, allocations: 35.28 kB / 0.843 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5926, allocations: 21.34 kB / 0.843 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.5944, allocations: 1.159 MB / 0.8441 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/0.5982, allocations: 2.67 MB / 0.8467 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.5997, allocations: 0.8483 MB / 0.8476 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.6003, allocations: 319.9 kB / 0.8479 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.491e-05/0.6004, allocations: 35.84 kB / 0.8479 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009498/0.6013, allocations: 0.534 MB / 0.8484 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.544e-06/0.6014, allocations: 0 / 0.8484 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.00328/0.6046, allocations: 1.283 MB / 0.8497 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6048, allocations: 192.6 kB / 0.8498 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.6056, allocations: 0.6574 MB / 0.8505 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.6057, allocations: 42.39 kB / 0.8505 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.606, allocations: 410.7 kB / 0.8509 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.6063, allocations: 282.3 kB / 0.8512 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.6065, allocations: 167 kB / 0.8514 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.6067, allocations: 390.3 kB / 0.8517 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.6073, allocations: 269.1 kB / 0.852 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.608, allocations: 386.8 kB / 0.8523 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6091, allocations: 0.6325 MB / 0.853 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6091, allocations: 4 kB / 0.853 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002052/0.6112, allocations: 0.8703 MB / 0.8538 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.6112, allocations: 9.75 kB / 0.8538 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6112, allocations: 0 / 0.8538 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.6119, allocations: 88.73 kB / 0.8539 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.6125, allocations: 167.5 kB / 0.8541 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.6147, allocations: 1.628 MB / 0.8557 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.6155, allocations: 91.98 kB / 0.8558 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.6156, allocations: 36.66 kB / 0.8558 GB, free: 5.27 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.0004553/0.616, allocations: 276.8 kB / 0.8561 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6162, allocations: 89.75 kB / 0.8561 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.6188, allocations: 1.17 MB / 0.8573 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.6188, allocations: 10.09 kB / 0.8573 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6188, allocations: 4 kB / 0.8573 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.6188, allocations: 3.984 kB / 0.8573 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6199, allocations: 0.9471 MB / 0.8582 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.62, allocations: 0 / 0.8582 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.6205, allocations: 152 kB / 0.8584 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.621, allocations: 78.59 kB / 0.8584 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.6211, allocations: 31.78 kB / 0.8585 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.6228, allocations: 1.66 MB / 0.8601 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6228, allocations: 3.984 kB / 0.8601 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.6248, allocations: 0.9927 MB / 0.8611 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.6252, allocations: 281.5 kB / 0.8613 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6254, allocations: 27.69 kB / 0.8614 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.626, allocations: 74.92 kB / 0.8614 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6262, allocations: 75.95 kB / 0.8615 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/0.6263, allocations: 40.81 kB / 0.8615 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005765/0.6268, allocations: 481.7 kB / 0.862 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6269, allocations: 0 / 0.862 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008382/0.6277, allocations: 313.7 kB / 0.8623 GB, free: 0.6914 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.003561/0.6313, allocations: 2.067 MB / 0.8643 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.6338, allocations: 1.083 MB / 0.8654 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6338, allocations: 0 / 0.8654 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.6347, allocations: 0.5453 MB / 0.8659 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.636, allocations: 294.7 kB / 0.8662 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.648, allocations: 6.859 MB / 0.8729 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.6486, allocations: 1.041 MB / 0.8739 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008834/0.6495, allocations: 273.8 kB / 0.8742 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005717/0.6501, allocations: 416.4 kB / 0.8746 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.6501, allocations: 0 / 0.8746 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04957/0.6997, allocations: 22.1 MB / 0.8961 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.81, allocations: 15.48 kB / 0.8962 GB, free: 3.512 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)