Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.8388/0.8388, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 171.9 kB / 191.5 MB, free: 5.77 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.588/1.588, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.001052/0.001052, allocations: 92.27 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 276.8 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005035, allocations: 11.88 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.031/4.239, allocations: 1.694 GB / 2.467 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/4.24, allocations: 99.94 kB / 2.467 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1765/4.416, allocations: 84.4 MB / 2.55 GB, free: 22.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.276e-06/4.416, allocations: 0 / 2.55 GB, free: 22.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.636e-05/4.416, allocations: 28 kB / 2.55 GB, free: 21.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002495/4.419, allocations: 1.453 MB / 2.551 GB, free: 20.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/4.419, allocations: 8.828 kB / 2.551 GB, free: 20.47 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/4.419, allocations: 189.9 kB / 2.551 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/4.42, allocations: 237.9 kB / 2.552 GB, free: 20.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/4.421, allocations: 0.7521 MB / 2.552 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/4.421, allocations: 128.2 kB / 2.553 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/4.422, allocations: 120 kB / 2.553 GB, free: 19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/4.423, allocations: 1.27 MB / 2.554 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/4.424, allocations: 0 / 2.554 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/4.424, allocations: 55.98 kB / 2.554 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/4.424, allocations: 32 kB / 2.554 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/4.426, allocations: 1.395 MB / 2.555 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/4.431, allocations: 3.552 MB / 2.559 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/4.432, allocations: 0.9125 MB / 2.56 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/4.432, allocations: 44.92 kB / 2.56 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/4.433, allocations: 0.5516 MB / 2.56 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=93): time 3.958e-06/4.433, allocations: 0 / 2.56 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=93): time 0.003179/4.436, allocations: 1.392 MB / 2.562 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/4.436, allocations: 248.3 kB / 2.562 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/4.437, allocations: 0.7033 MB / 2.563 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/4.438, allocations: 45.7 kB / 2.563 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/4.438, allocations: 0.5077 MB / 2.563 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/4.438, allocations: 307.5 kB / 2.563 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/4.438, allocations: 16 kB / 2.563 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/4.438, allocations: 337.9 kB / 2.564 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/4.439, allocations: 305.8 kB / 2.564 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/4.439, allocations: 436.2 kB / 2.564 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/4.44, allocations: 374.8 kB / 2.565 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/4.44, allocations: 0 / 2.565 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002018/4.442, allocations: 0.9775 MB / 2.566 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/4.442, allocations: 9.094 kB / 2.566 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/4.442, allocations: 4.062 kB / 2.566 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/4.443, allocations: 88.7 kB / 2.566 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/4.443, allocations: 187.8 kB / 2.566 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/4.445, allocations: 1.54 MB / 2.568 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009977/4.446, allocations: 103.2 kB / 2.568 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.85e-05/4.446, allocations: 47.84 kB / 2.568 GB, free: 3.133 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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.0006834/4.447, allocations: 306.7 kB / 2.568 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/4.447, allocations: 94.88 kB / 2.568 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/4.45, allocations: 1.317 MB / 2.569 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/4.45, allocations: 12 kB / 2.569 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/4.45, allocations: 3.953 kB / 2.569 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/4.45, allocations: 3.984 kB / 2.569 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4219/4.872, allocations: 2.464 MB / 2.572 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/4.872, allocations: 0.9688 kB / 2.572 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007798/4.873, allocations: 182.9 kB / 2.572 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/4.873, allocations: 89.58 kB / 2.572 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/4.873, allocations: 27.8 kB / 2.572 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/4.875, allocations: 1.573 MB / 2.574 GB, free: 225.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/4.875, allocations: 0 / 2.574 GB, free: 225.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/4.877, allocations: 1.116 MB / 2.575 GB, free: 225.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/4.878, allocations: 354.4 kB / 2.575 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/4.878, allocations: 22.25 kB / 2.575 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/4.879, allocations: 70.62 kB / 2.575 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/4.879, allocations: 75.73 kB / 2.575 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/4.879, allocations: 39.11 kB / 2.575 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008459/4.88, allocations: 0.5933 MB / 2.576 GB, free: 225 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/4.88, allocations: 0 / 2.576 GB, free: 225 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001434/4.882, allocations: 434.2 kB / 2.576 GB, free: 225 MB / 0.7136 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.004366/4.886, allocations: 2.639 MB / 2.579 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002002/4.888, allocations: 0.9382 MB / 2.58 GB, free: 224 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/4.888, allocations: 3.609 kB / 2.58 GB, free: 224 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/4.889, allocations: 0.5845 MB / 2.58 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/4.89, allocations: 257.5 kB / 2.581 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/4.897, allocations: 3.882 MB / 2.584 GB, free: 221.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/4.898, allocations: 1.154 MB / 2.585 GB, free: 221.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001298/4.9, allocations: 289.6 kB / 2.586 GB, free: 221.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008246/4.901, allocations: 496.7 kB / 2.586 GB, free: 221.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/4.901, allocations: 0 / 2.586 GB, free: 221.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08171/4.982, allocations: 33.88 MB / 2.619 GB, free: 219.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/4.983, allocations: 289.1 kB / 2.62 GB, free: 218.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/8.283, allocations: 0 / 2.62 GB, free: 218.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)