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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.711/0.711, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 179 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.3 MB / 441.4 MB, free: 4.664 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 94.89 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 283.4 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.651e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4324, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.73/4.162, allocations: 1.691 GB / 2.455 GB, free: 51.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/4.163, allocations: 98.98 kB / 2.455 GB, free: 51.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4774/4.64, allocations: 59.23 MB / 2.513 GB, free: 235.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/4.64, allocations: 1.094 kB / 2.513 GB, free: 235.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.788e-05/4.64, allocations: 24.42 kB / 2.513 GB, free: 235.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001868/4.642, allocations: 1.072 MB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/4.642, allocations: 9.094 kB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/4.642, allocations: 126.6 kB / 2.514 GB, free: 235.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/4.643, allocations: 189 kB / 2.515 GB, free: 235.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/4.644, allocations: 0.6101 MB / 2.515 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/4.644, allocations: 60 kB / 2.515 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/4.644, allocations: 76.31 kB / 2.515 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/4.646, allocations: 0.8316 MB / 2.516 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/4.646, allocations: 1.062 kB / 2.516 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/4.646, allocations: 33.53 kB / 2.516 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/4.646, allocations: 25.84 kB / 2.516 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/4.648, allocations: 1.023 MB / 2.517 GB, free: 234.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/4.652, allocations: 2.411 MB / 2.52 GB, free: 234 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/4.653, allocations: 0.7588 MB / 2.52 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/4.653, allocations: 262.6 kB / 2.521 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.873e-05/4.653, allocations: 28.55 kB / 2.521 GB, free: 233.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/4.654, allocations: 410.7 kB / 2.521 GB, free: 233.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/4.654, allocations: 0 / 2.521 GB, free: 233.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001675/4.655, allocations: 0.686 MB / 2.522 GB, free: 233.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/4.656, allocations: 243.7 kB / 2.522 GB, free: 233.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/4.656, allocations: 0.5719 MB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/4.657, allocations: 40.23 kB / 2.522 GB, free: 233.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/4.657, allocations: 374.1 kB / 2.523 GB, free: 233.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/4.657, allocations: 235.6 kB / 2.523 GB, free: 233 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/4.657, allocations: 14 kB / 2.523 GB, free: 233 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/4.657, allocations: 386.8 kB / 2.523 GB, free: 232.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/4.658, allocations: 195.6 kB / 2.524 GB, free: 232.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/4.658, allocations: 307.6 kB / 2.524 GB, free: 232.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/4.659, allocations: 241.3 kB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/4.659, allocations: 0.5938 kB / 2.524 GB, free: 232.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0014/4.66, allocations: 0.683 MB / 2.525 GB, free: 232.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/4.66, allocations: 5.156 kB / 2.525 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/4.66, allocations: 7.656 kB / 2.525 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/4.661, allocations: 84.5 kB / 2.525 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/4.661, allocations: 134.5 kB / 2.525 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/4.663, allocations: 1.523 MB / 2.527 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/4.663, allocations: 82.83 kB / 2.527 GB, free: 231.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/4.663, allocations: 31.58 kB / 2.527 GB, free: 231.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.000143/4.664, allocations: 142 kB / 2.527 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/4.664, allocations: 75.19 kB / 2.527 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/4.665, allocations: 0.9753 MB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/4.666, allocations: 7.719 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/4.666, allocations: 2.594 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/4.666, allocations: 3.891 kB / 2.528 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/4.668, allocations: 1.852 MB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/4.668, allocations: 3.891 kB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/4.669, allocations: 142.3 kB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/4.669, allocations: 82.67 kB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/4.669, allocations: 26.98 kB / 2.53 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/4.67, allocations: 1.539 MB / 2.531 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/4.67, allocations: 5.969 kB / 2.531 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/4.672, allocations: 0.8718 MB / 2.532 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/4.672, allocations: 287.2 kB / 2.532 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/4.672, allocations: 22.09 kB / 2.533 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/4.673, allocations: 62.12 kB / 2.533 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/4.673, allocations: 65.8 kB / 2.533 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/4.673, allocations: 31.02 kB / 2.533 GB, free: 228.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004433/4.673, allocations: 474.5 kB / 2.533 GB, free: 228.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/4.673, allocations: 0 / 2.533 GB, free: 228.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009578/4.674, allocations: 362.4 kB / 2.533 GB, free: 228.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002874/4.677, allocations: 2.336 MB / 2.536 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001041/4.678, allocations: 0.6781 MB / 2.536 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/4.678, allocations: 4.219 kB / 2.536 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/4.679, allocations: 473.9 kB / 2.537 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/4.68, allocations: 242.8 kB / 2.537 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/4.683, allocations: 1.542 MB / 2.539 GB, free: 227.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/4.683, allocations: 1.023 MB / 2.54 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007144/4.684, allocations: 251.1 kB / 2.54 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/4.685, allocations: 355.1 kB / 2.54 GB, free: 226.5 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/4.685, allocations: 0 / 2.54 GB, free: 226.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/4.728, allocations: 30.91 MB / 2.57 GB, free: 217.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/4.729, allocations: 257.5 kB / 2.571 GB, free: 217.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/7.477, allocations: 0 / 2.571 GB, free: 217.1 MB / 0.698 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/linux/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)