Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_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.00117/0.00117, 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.001173/0.001173, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.19/1.19, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 282.3 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8789/0.8789, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 91.48 kB / 0.5946 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1357, allocations: 86.99 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005938/0.1417, allocations: 4.33 MB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4563/0.598, allocations: 148.2 MB / 0.8285 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007756/0.5989, allocations: 19.59 kB / 0.8285 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.5994, allocations: 137.3 kB / 0.8287 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.6007, allocations: 431.7 kB / 0.8291 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.6023, allocations: 0.7216 MB / 0.8298 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.6032, allocations: 1.198 MB / 0.8309 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.604, allocations: 0.62 MB / 0.8315 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.6045, allocations: 402.6 kB / 0.8319 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.6049, allocations: 469 kB / 0.8324 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.6051, allocations: 57.31 kB / 0.8324 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008066/0.6059, allocations: 393.3 kB / 0.8328 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.6061, allocations: 243.7 kB / 0.833 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.6065, allocations: 491.1 kB / 0.8335 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.608, allocations: 1.529 MB / 0.835 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.608, allocations: 0.9062 kB / 0.835 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.206e-06/0.608, allocations: 0 / 0.835 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.6081, allocations: 5 kB / 0.835 GB, free: 15.95 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002436/0.6105, allocations: 1.402 MB / 0.8364 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6106, allocations: 9.312 kB / 0.8364 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.6107, allocations: 136.7 kB / 0.8365 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000894/0.6116, allocations: 185.5 kB / 0.8367 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/0.6126, allocations: 0.7429 MB / 0.8374 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.6127, allocations: 64.08 kB / 0.8375 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.782e-05/0.6128, allocations: 84.03 kB / 0.8376 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6142, allocations: 0.9181 MB / 0.8385 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6142, allocations: 0 / 0.8385 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.6143, allocations: 35.62 kB / 0.8385 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.6143, allocations: 25.47 kB / 0.8385 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.616, allocations: 1.112 MB / 0.8396 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.6196, allocations: 2.525 MB / 0.8421 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.621, allocations: 0.8873 MB / 0.8429 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.6215, allocations: 312.4 kB / 0.8432 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.764e-05/0.6216, allocations: 28.81 kB / 0.8433 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.6224, allocations: 494.4 kB / 0.8437 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.275e-06/0.6224, allocations: 2.5 kB / 0.8437 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.002922/0.6254, allocations: 1.193 MB / 0.8449 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.6255, allocations: 189.8 kB / 0.8451 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.6262, allocations: 0.6281 MB / 0.8457 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.6262, allocations: 40.89 kB / 0.8457 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6265, allocations: 396.3 kB / 0.8461 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.6267, allocations: 254 kB / 0.8464 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.6269, allocations: 145.7 kB / 0.8465 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6271, allocations: 388 kB / 0.8469 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.6275, allocations: 241.1 kB / 0.8471 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.6281, allocations: 362.6 kB / 0.8474 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6291, allocations: 0.5836 MB / 0.848 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.6291, allocations: 1.875 kB / 0.848 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001728/0.6309, allocations: 0.799 MB / 0.8488 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6309, allocations: 4.812 kB / 0.8488 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.6309, allocations: 1.875 kB / 0.8488 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.6315, allocations: 83.95 kB / 0.8489 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/0.6321, allocations: 154.3 kB / 0.849 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.6342, allocations: 1.534 MB / 0.8505 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.6348, allocations: 82.45 kB / 0.8506 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/0.6349, allocations: 29.95 kB / 0.8506 GB, free: 6.645 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0003936/0.6353, allocations: 274.6 kB / 0.8509 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.6355, allocations: 87.22 kB / 0.851 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.6377, allocations: 1.062 MB / 0.852 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.6377, allocations: 14.17 kB / 0.852 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.6377, allocations: 0 / 0.852 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6377, allocations: 3.984 kB / 0.852 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.6407, allocations: 1.96 MB / 0.8539 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6408, allocations: 3.938 kB / 0.8539 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.6413, allocations: 140.3 kB / 0.8541 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/0.6418, allocations: 83.78 kB / 0.8542 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.6419, allocations: 25.59 kB / 0.8542 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.6436, allocations: 1.557 MB / 0.8557 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6436, allocations: 3.031 kB / 0.8557 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.6456, allocations: 0.9901 MB / 0.8567 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.646, allocations: 275.5 kB / 0.8569 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6461, allocations: 23.38 kB / 0.857 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.6468, allocations: 69.86 kB / 0.857 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.6469, allocations: 69.97 kB / 0.8571 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.058e-05/0.647, allocations: 30.48 kB / 0.8571 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005401/0.6475, allocations: 458.8 kB / 0.8576 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6476, allocations: 0 / 0.8576 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009077/0.6485, allocations: 304 kB / 0.8578 GB, free: 1.625 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003434/0.6519, allocations: 2.051 MB / 0.8599 GB, free: 356 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.6536, allocations: 0.7956 MB / 0.8606 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6536, allocations: 0 / 0.8606 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009202/0.6545, allocations: 0.5157 MB / 0.8611 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.656, allocations: 273.5 kB / 0.8614 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.6689, allocations: 6.884 MB / 0.8681 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.6696, allocations: 1.023 MB / 0.8691 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009695/0.6706, allocations: 259.6 kB / 0.8694 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/0.6712, allocations: 369.6 kB / 0.8697 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/0.6712, allocations: 0 / 0.8697 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/0.7111, allocations: 20.17 MB / 0.8894 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.7113, allocations: 314.7 kB / 0.8897 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.003, allocations: 0 / 0.8897 GB, free: 7.773 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)