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.001092/0.001092, 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.001082/0.001082, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 279.1 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8946/0.8946, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 96.56 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.172, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00632/0.1783, allocations: 4.295 MB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5484/0.7267, allocations: 150.5 MB / 0.8315 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007697/0.7275, allocations: 16.16 kB / 0.8315 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.7281, allocations: 178.2 kB / 0.8317 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.7297, allocations: 0.495 MB / 0.8322 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.7314, allocations: 0.8284 MB / 0.833 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.7325, allocations: 1.295 MB / 0.8342 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.7334, allocations: 0.6263 MB / 0.8348 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.7339, allocations: 471 kB / 0.8353 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.7345, allocations: 496.3 kB / 0.8358 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.7347, allocations: 117.8 kB / 0.8359 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.7358, allocations: 463.7 kB / 0.8363 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.736, allocations: 293.7 kB / 0.8366 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004255/0.7364, allocations: 0.5495 MB / 0.8371 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.738, allocations: 1.573 MB / 0.8387 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.738, allocations: 3.125 kB / 0.8387 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7381, allocations: 0 / 0.8387 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.7381, allocations: 0 / 0.8387 GB, free: 15.89 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.002504/0.7406, allocations: 1.41 MB / 0.8401 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7406, allocations: 9.531 kB / 0.8401 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.7408, allocations: 135.9 kB / 0.8402 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.7418, allocations: 184.7 kB / 0.8404 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.7429, allocations: 0.748 MB / 0.8411 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.743, allocations: 60.06 kB / 0.8412 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.7431, allocations: 81.53 kB / 0.8412 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.7447, allocations: 0.921 MB / 0.8421 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.7447, allocations: 5.516 kB / 0.8421 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.7448, allocations: 40.42 kB / 0.8422 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.7449, allocations: 19.84 kB / 0.8422 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.7466, allocations: 1.111 MB / 0.8433 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.7504, allocations: 2.529 MB / 0.8458 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.7519, allocations: 0.882 MB / 0.8466 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.7524, allocations: 309.3 kB / 0.8469 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.7525, allocations: 30.34 kB / 0.8469 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009456/0.7535, allocations: 495 kB / 0.8474 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.434e-06/0.7535, allocations: 7.938 kB / 0.8474 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.00315/0.7566, allocations: 1.188 MB / 0.8486 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.7568, allocations: 192 kB / 0.8488 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007733/0.7575, allocations: 0.6195 MB / 0.8494 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.7576, allocations: 46.19 kB / 0.8494 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.7579, allocations: 393 kB / 0.8498 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.7581, allocations: 256.1 kB / 0.85 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.7584, allocations: 146.8 kB / 0.8502 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7585, allocations: 384.4 kB / 0.8505 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.759, allocations: 253.2 kB / 0.8508 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.7596, allocations: 353 kB / 0.8511 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.7606, allocations: 0.5835 MB / 0.8517 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7606, allocations: 3.75 kB / 0.8517 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001878/0.7625, allocations: 0.8042 MB / 0.8525 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7626, allocations: 3.094 kB / 0.8525 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7626, allocations: 6.453 kB / 0.8525 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.7632, allocations: 81.09 kB / 0.8526 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.7637, allocations: 149.8 kB / 0.8527 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.7658, allocations: 1.646 MB / 0.8543 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.7665, allocations: 82.38 kB / 0.8544 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.7666, allocations: 30.17 kB / 0.8544 GB, free: 5.879 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.0004329/0.767, allocations: 277.9 kB / 0.8547 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.7672, allocations: 86.91 kB / 0.8548 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.7695, allocations: 1.061 MB / 0.8558 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.7696, allocations: 10 kB / 0.8558 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7696, allocations: 11.92 kB / 0.8558 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.7696, allocations: 3.984 kB / 0.8558 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.7729, allocations: 1.955 MB / 0.8577 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7729, allocations: 0 / 0.8577 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.7734, allocations: 146 kB / 0.8579 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.7739, allocations: 77.28 kB / 0.8579 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.7739, allocations: 26.84 kB / 0.858 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.7758, allocations: 1.669 MB / 0.8596 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7758, allocations: 0 / 0.8596 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.7778, allocations: 0.9942 MB / 0.8606 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.7782, allocations: 275.7 kB / 0.8608 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.7783, allocations: 21.66 kB / 0.8609 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.779, allocations: 68.42 kB / 0.8609 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.7791, allocations: 65.31 kB / 0.861 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.7792, allocations: 36.48 kB / 0.861 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005478/0.7797, allocations: 456.9 kB / 0.8615 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7798, allocations: 0 / 0.8615 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009522/0.7807, allocations: 305.1 kB / 0.8617 GB, free: 0.75 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.003407/0.7841, allocations: 2.049 MB / 0.8637 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.7865, allocations: 1.006 MB / 0.8647 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.7865, allocations: 0 / 0.8647 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008989/0.7874, allocations: 0.515 MB / 0.8652 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.7888, allocations: 288.8 kB / 0.8655 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.8, allocations: 6.511 MB / 0.8719 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.8006, allocations: 1.018 MB / 0.8729 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009276/0.8016, allocations: 259.6 kB / 0.8731 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.8021, allocations: 365.7 kB / 0.8735 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.8021, allocations: 0 / 0.8735 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.851, allocations: 20.93 MB / 0.8939 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.02, allocations: 4.062 kB / 0.8939 GB, free: 5.578 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)