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.00119/0.00119, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009225/0.009225, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001594/0.001594, allocations: 274.4 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.884/0.884, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004154, allocations: 13.62 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 88.54 MB / 0.6852 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004351/0.1665, allocations: 3.901 MB / 0.689 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4513/0.6178, allocations: 146.6 MB / 0.8322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.6183, allocations: 13.56 kB / 0.8322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.6187, allocations: 137.7 kB / 0.8324 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.6198, allocations: 434.4 kB / 0.8328 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.6213, allocations: 0.717 MB / 0.8335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.6224, allocations: 1.205 MB / 0.8347 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.6231, allocations: 0.5947 MB / 0.8352 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.6235, allocations: 333.9 kB / 0.8356 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.624, allocations: 374.5 kB / 0.8359 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.624, allocations: 24.81 kB / 0.8359 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006059/0.6247, allocations: 373.9 kB / 0.8363 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.6248, allocations: 185.8 kB / 0.8365 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.6252, allocations: 463.8 kB / 0.8369 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.6263, allocations: 1.469 MB / 0.8384 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6263, allocations: 0 / 0.8384 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6263, allocations: 0 / 0.8384 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.6264, allocations: 0 / 0.8384 GB, free: 8.906 MB / 0.5606 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.001904/0.6283, allocations: 1.207 MB / 0.8395 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6283, allocations: 9.812 kB / 0.8395 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.6285, allocations: 136.4 kB / 0.8397 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008162/0.6293, allocations: 197.4 kB / 0.8399 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.6301, allocations: 0.7376 MB / 0.8406 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.6302, allocations: 62.84 kB / 0.8406 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.6303, allocations: 79.28 kB / 0.8407 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.6317, allocations: 0.9269 MB / 0.8416 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6317, allocations: 3.984 kB / 0.8416 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.6318, allocations: 41.11 kB / 0.8417 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.6318, allocations: 20 kB / 0.8417 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6334, allocations: 1.116 MB / 0.8428 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.6367, allocations: 2.564 MB / 0.8453 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6381, allocations: 0.895 MB / 0.8462 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.6386, allocations: 308.7 kB / 0.8464 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/0.6387, allocations: 34.34 kB / 0.8465 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007881/0.6395, allocations: 0.4895 MB / 0.847 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.244e-06/0.6395, allocations: 3.938 kB / 0.847 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.002794/0.6423, allocations: 1.203 MB / 0.8481 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.6424, allocations: 201.3 kB / 0.8483 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.6431, allocations: 0.6208 MB / 0.8489 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.6431, allocations: 40.39 kB / 0.849 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6434, allocations: 397.7 kB / 0.8494 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6436, allocations: 250.9 kB / 0.8496 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.6437, allocations: 71.45 kB / 0.8497 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6438, allocations: 387.7 kB / 0.85 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.6442, allocations: 247.9 kB / 0.8503 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.6448, allocations: 359.1 kB / 0.8506 GB, free: 360 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.6457, allocations: 0.5911 MB / 0.8512 GB, free: 36 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6457, allocations: 4 kB / 0.8512 GB, free: 32 kB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001635/0.6474, allocations: 0.8103 MB / 0.852 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6474, allocations: 5.344 kB / 0.852 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6474, allocations: 0 / 0.852 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.648, allocations: 91.14 kB / 0.8521 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.6485, allocations: 148.6 kB / 0.8522 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.6505, allocations: 1.53 MB / 0.8537 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.6512, allocations: 103.4 kB / 0.8538 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.6512, allocations: 24.67 kB / 0.8538 GB, free: 13.95 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.0003363/0.6516, allocations: 270 kB / 0.8541 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.6517, allocations: 85.3 kB / 0.8542 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.6538, allocations: 1.072 MB / 0.8552 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6538, allocations: 14.81 kB / 0.8552 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6539, allocations: 0 / 0.8552 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6539, allocations: 11.97 kB / 0.8552 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.6567, allocations: 1.967 MB / 0.8572 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.6567, allocations: 3.984 kB / 0.8572 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.6572, allocations: 140.4 kB / 0.8573 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/0.6577, allocations: 93.02 kB / 0.8574 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.6578, allocations: 19.95 kB / 0.8574 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.6594, allocations: 1.564 MB / 0.8589 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6594, allocations: 0 / 0.8589 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.6611, allocations: 1.003 MB / 0.8599 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.6615, allocations: 289 kB / 0.8602 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.974e-05/0.6616, allocations: 21.75 kB / 0.8602 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.6622, allocations: 86.73 kB / 0.8603 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.6624, allocations: 69.45 kB / 0.8604 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.6624, allocations: 34.45 kB / 0.8604 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004881/0.6629, allocations: 454.7 kB / 0.8608 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6629, allocations: 2.938 kB / 0.8608 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007563/0.6637, allocations: 299 kB / 0.8611 GB, free: 8.891 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.003116/0.6668, allocations: 2.054 MB / 0.8631 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.6682, allocations: 0.8121 MB / 0.8639 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6682, allocations: 0 / 0.8639 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.669, allocations: 0.5181 MB / 0.8644 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6702, allocations: 259.2 kB / 0.8647 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.6816, allocations: 6.973 MB / 0.8715 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.6822, allocations: 1.023 MB / 0.8725 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007935/0.683, allocations: 262.5 kB / 0.8727 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.6835, allocations: 367.3 kB / 0.8731 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.6835, allocations: 4 kB / 0.8731 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.984/3.668, allocations: 19.86 MB / 0.8925 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/3.668, allocations: 310.2 kB / 0.8928 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/6.443, allocations: 0 / 0.8928 GB, free: 10.73 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)