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.001032/0.001032, 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.00102/0.00102, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.256/1.256, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 282.8 kB / 290.3 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9363/0.9363, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 89.98 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1526, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005341/0.158, allocations: 4.413 MB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4458/0.6039, allocations: 148.3 MB / 0.8289 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000767/0.6047, allocations: 19.72 kB / 0.8289 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.6051, allocations: 140.4 kB / 0.8291 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.6066, allocations: 459.5 kB / 0.8295 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.6082, allocations: 0.7582 MB / 0.8302 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6094, allocations: 1.345 MB / 0.8316 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007361/0.6101, allocations: 0.6238 MB / 0.8322 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.6108, allocations: 495 kB / 0.8326 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004568/0.6113, allocations: 0.5095 MB / 0.8331 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.6114, allocations: 117.4 kB / 0.8333 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/0.6123, allocations: 467 kB / 0.8337 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.6125, allocations: 303.1 kB / 0.834 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.613, allocations: 0.5617 MB / 0.8345 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.6145, allocations: 1.594 MB / 0.8361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.6146, allocations: 1.312 kB / 0.8361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6146, allocations: 0 / 0.8361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.6146, allocations: 0 / 0.8361 GB, free: 15.53 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002565/0.6172, allocations: 1.461 MB / 0.8375 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6172, allocations: 9.5 kB / 0.8375 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.6174, allocations: 136.5 kB / 0.8377 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.6183, allocations: 187.8 kB / 0.8378 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.6193, allocations: 0.7565 MB / 0.8386 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.6193, allocations: 67.19 kB / 0.8386 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6194, allocations: 86.06 kB / 0.8387 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.6209, allocations: 0.9389 MB / 0.8396 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.6209, allocations: 0 / 0.8396 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.621, allocations: 39.16 kB / 0.8397 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.621, allocations: 21.28 kB / 0.8397 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.6226, allocations: 1.133 MB / 0.8408 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.6262, allocations: 2.536 MB / 0.8433 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6276, allocations: 0.9066 MB / 0.8442 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.6281, allocations: 316.4 kB / 0.8445 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/0.6282, allocations: 31.27 kB / 0.8445 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000857/0.629, allocations: 0.5097 MB / 0.845 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 1.893e-06/0.629, allocations: 0 / 0.845 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.002923/0.632, allocations: 1.248 MB / 0.8462 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.6321, allocations: 191 kB / 0.8464 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.6328, allocations: 0.6424 MB / 0.847 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.6328, allocations: 47.3 kB / 0.8471 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.6331, allocations: 399.9 kB / 0.8474 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.6333, allocations: 272.8 kB / 0.8477 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.6335, allocations: 152.8 kB / 0.8479 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6337, allocations: 391.1 kB / 0.8482 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.6341, allocations: 258.1 kB / 0.8485 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.6347, allocations: 368.8 kB / 0.8488 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009738/0.6356, allocations: 0.6024 MB / 0.8494 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6357, allocations: 2.594 kB / 0.8494 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001706/0.6374, allocations: 0.8268 MB / 0.8502 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6374, allocations: 9.25 kB / 0.8502 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6374, allocations: 4.172 kB / 0.8502 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.638, allocations: 84.84 kB / 0.8503 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.6386, allocations: 155.1 kB / 0.8505 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.6404, allocations: 1.623 MB / 0.852 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.6411, allocations: 100.9 kB / 0.8521 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.6412, allocations: 36.72 kB / 0.8522 GB, free: 6.105 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.0003871/0.6415, allocations: 267.5 kB / 0.8524 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6417, allocations: 83.38 kB / 0.8525 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.644, allocations: 1.14 MB / 0.8536 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.644, allocations: 14 kB / 0.8536 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.644, allocations: 0 / 0.8536 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.644, allocations: 3.984 kB / 0.8536 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.6469, allocations: 2.033 MB / 0.8556 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6469, allocations: 0 / 0.8556 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.6475, allocations: 157.9 kB / 0.8558 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.648, allocations: 70.73 kB / 0.8558 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.648, allocations: 30.12 kB / 0.8559 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.6497, allocations: 1.653 MB / 0.8575 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6497, allocations: 3.938 kB / 0.8575 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6516, allocations: 1.039 MB / 0.8585 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.6519, allocations: 282 kB / 0.8588 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.652, allocations: 35.55 kB / 0.8588 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.6527, allocations: 61.06 kB / 0.8589 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.6528, allocations: 83.88 kB / 0.859 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.6529, allocations: 37.8 kB / 0.859 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004814/0.6534, allocations: 465.5 kB / 0.8594 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6534, allocations: 4 kB / 0.8594 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007775/0.6542, allocations: 312.5 kB / 0.8597 GB, free: 0.8867 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.003194/0.6574, allocations: 2.109 MB / 0.8618 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.6596, allocations: 1.053 MB / 0.8628 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6596, allocations: 0 / 0.8628 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.6604, allocations: 0.5418 MB / 0.8634 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6616, allocations: 305.8 kB / 0.8636 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.6729, allocations: 7.108 MB / 0.8706 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.6734, allocations: 1.033 MB / 0.8716 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000825/0.6742, allocations: 273.2 kB / 0.8719 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.6747, allocations: 410.4 kB / 0.8722 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6747, allocations: 0 / 0.8722 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.528/6.202, allocations: 21.44 MB / 0.8932 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/6.203, allocations: 336.2 kB / 0.8935 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/8.889, allocations: 4 kB / 0.8935 GB, free: 4.117 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)