Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001146/0.001146, allocations: 96.27 kB / 15.69 MB, free: 476 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.001409/0.001409, allocations: 176.6 kB / 16.57 MB, free: 6.859 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.418/1.418, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.681/0.681, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 8.781 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1884, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006224/0.1947, allocations: 3.764 MB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.44/0.6348, allocations: 127.7 MB / 0.6851 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.6354, allocations: 15.88 kB / 0.6851 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.6359, allocations: 79.31 kB / 0.6852 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.6376, allocations: 0.5068 MB / 0.6856 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.6393, allocations: 0.6667 MB / 0.6863 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.6407, allocations: 0.8533 MB / 0.6871 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007512/0.6414, allocations: 487.9 kB / 0.6876 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.642, allocations: 374.4 kB / 0.688 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.6426, allocations: 362.2 kB / 0.6883 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6427, allocations: 28 kB / 0.6883 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.6434, allocations: 335.6 kB / 0.6886 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.6437, allocations: 195.2 kB / 0.6888 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.6439, allocations: 209.1 kB / 0.689 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.6451, allocations: 1.217 MB / 0.6902 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.6451, allocations: 0 / 0.6902 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6451, allocations: 0 / 0.6902 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.6452, allocations: 0 / 0.6902 GB, free: 1.355 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.0022/0.6474, allocations: 1.283 MB / 0.6915 GB, free: 24 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.6474, allocations: 8.031 kB / 0.6915 GB, free: 16 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.6476, allocations: 147.6 kB / 0.6916 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.6484, allocations: 207.2 kB / 0.6918 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6495, allocations: 0.735 MB / 0.6925 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.6495, allocations: 69.95 kB / 0.6926 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6496, allocations: 88 kB / 0.6927 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6511, allocations: 0.969 MB / 0.6936 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.6511, allocations: 0 / 0.6936 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/0.6512, allocations: 36 kB / 0.6937 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.6512, allocations: 24 kB / 0.6937 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.6529, allocations: 1.159 MB / 0.6948 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.6569, allocations: 2.735 MB / 0.6975 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.6589, allocations: 0.9925 MB / 0.6985 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.659, allocations: 36.59 kB / 0.6985 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/0.6598, allocations: 0.5275 MB / 0.699 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=88): time 3.687e-06/0.6598, allocations: 4 kB / 0.699 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88): time 0.002923/0.6628, allocations: 1.295 MB / 0.7003 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.6629, allocations: 188.9 kB / 0.7005 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.6637, allocations: 0.6451 MB / 0.7011 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.6638, allocations: 45.7 kB / 0.7011 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.6641, allocations: 408.4 kB / 0.7015 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.6643, allocations: 283.9 kB / 0.7018 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.6643, allocations: 16 kB / 0.7018 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6645, allocations: 390.8 kB / 0.7022 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.665, allocations: 269.8 kB / 0.7024 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.6656, allocations: 386.5 kB / 0.7028 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.6662, allocations: 306.9 kB / 0.7031 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6662, allocations: 4 kB / 0.7031 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001781/0.668, allocations: 0.876 MB / 0.704 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6681, allocations: 4 kB / 0.704 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6681, allocations: 0 / 0.704 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005607/0.6686, allocations: 84.84 kB / 0.704 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.6693, allocations: 163.8 kB / 0.7042 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.6712, allocations: 1.532 MB / 0.7057 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.6719, allocations: 111.3 kB / 0.7058 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.672, allocations: 39.91 kB / 0.7058 GB, free: 0.8203 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004164/0.6724, allocations: 271.3 kB / 0.7061 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.6726, allocations: 86.97 kB / 0.7062 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.675, allocations: 1.214 MB / 0.7074 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.675, allocations: 12 kB / 0.7074 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.675, allocations: 0 / 0.7074 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.675, allocations: 7.969 kB / 0.7074 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.6782, allocations: 2.115 MB / 0.7095 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6782, allocations: 0 / 0.7095 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.6789, allocations: 171.7 kB / 0.7096 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.6794, allocations: 80.78 kB / 0.7097 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.6794, allocations: 31.97 kB / 0.7097 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.6811, allocations: 1.556 MB / 0.7112 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6812, allocations: 0 / 0.7112 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.6832, allocations: 1.094 MB / 0.7123 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.6837, allocations: 303.5 kB / 0.7126 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.6839, allocations: 20 kB / 0.7126 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/0.6846, allocations: 90.14 kB / 0.7127 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.6848, allocations: 84.88 kB / 0.7128 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.6849, allocations: 43.97 kB / 0.7128 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006157/0.6855, allocations: 467 kB / 0.7133 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6855, allocations: 0 / 0.7133 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008865/0.6864, allocations: 335.2 kB / 0.7136 GB, free: 8.625 MB / 0.5294 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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003363/0.6898, allocations: 2.163 MB / 0.7157 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.6915, allocations: 0.8742 MB / 0.7166 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6915, allocations: 4 kB / 0.7166 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.6924, allocations: 0.5588 MB / 0.7171 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6935, allocations: 244.5 kB / 0.7173 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.7037, allocations: 5.782 MB / 0.723 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.7043, allocations: 1.07 MB / 0.724 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008682/0.7052, allocations: 275.1 kB / 0.7243 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/0.7058, allocations: 419.2 kB / 0.7247 GB, free: 13.24 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/0.7058, allocations: 3.938 kB / 0.7247 GB, free: 13.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08715/0.793, allocations: 22.33 MB / 0.7465 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.7932, allocations: 288.6 kB / 0.7468 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.157, allocations: 0 / 0.7468 GB, free: 6.969 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) Environment - environmentSimulation: