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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.834/0.834, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.001133/0.001133, allocations: 181 kB / 191.5 MB, free: 5.766 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.416/1.416, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0009535/0.0009538, allocations: 88.33 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001701/0.001701, allocations: 278.7 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005431, allocations: 19.42 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2309, allocations: 82.79 MB / 0.7737 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.63/3.861, allocations: 1.694 GB / 2.467 GB, free: 60.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/3.861, allocations: 94.78 kB / 2.467 GB, free: 60.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.545/4.406, allocations: 84.39 MB / 2.55 GB, free: 232 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.505e-06/4.406, allocations: 0 / 2.55 GB, free: 232 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001013/4.406, allocations: 30.81 kB / 2.55 GB, free: 232 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.002865/4.409, allocations: 1.446 MB / 2.551 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/4.409, allocations: 8.25 kB / 2.551 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/4.41, allocations: 229 kB / 2.551 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/4.411, allocations: 0.757 MB / 2.552 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/4.412, allocations: 124.5 kB / 2.552 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/4.412, allocations: 122 kB / 2.552 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/4.414, allocations: 1.272 MB / 2.554 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/4.414, allocations: 6.469 kB / 2.554 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/4.414, allocations: 55.19 kB / 2.554 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/4.414, allocations: 29.62 kB / 2.554 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/4.417, allocations: 1.395 MB / 2.555 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005916/4.422, allocations: 3.554 MB / 2.559 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/4.424, allocations: 0.9172 MB / 2.559 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-05/4.424, allocations: 47.19 kB / 2.56 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009434/4.425, allocations: 0.5475 MB / 2.56 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=93): time 2.886e-06/4.425, allocations: 0 / 2.56 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=93): time 0.003639/4.429, allocations: 1.402 MB / 2.561 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/4.429, allocations: 243 kB / 2.562 GB, free: 229.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/4.43, allocations: 0.7055 MB / 2.562 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/4.43, allocations: 41.89 kB / 2.562 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/4.431, allocations: 0.5084 MB / 2.563 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/4.431, allocations: 307.1 kB / 2.563 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/4.431, allocations: 16.81 kB / 2.563 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/4.431, allocations: 339.7 kB / 2.564 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/4.431, allocations: 309.5 kB / 2.564 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/4.432, allocations: 441.4 kB / 2.564 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/4.433, allocations: 370 kB / 2.565 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/4.433, allocations: 0.625 kB / 2.565 GB, free: 228.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002427/4.435, allocations: 0.9701 MB / 2.566 GB, free: 228.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/4.435, allocations: 10.3 kB / 2.566 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/4.435, allocations: 3.406 kB / 2.566 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/4.436, allocations: 81.91 kB / 2.566 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/4.437, allocations: 195.2 kB / 2.566 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/4.438, allocations: 1.537 MB / 2.567 GB, free: 226.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/4.439, allocations: 115.6 kB / 2.567 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/4.439, allocations: 38.78 kB / 2.567 GB, free: 226.8 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.00068/4.44, allocations: 303.3 kB / 2.568 GB, free: 226.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/4.44, allocations: 99.23 kB / 2.568 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/4.443, allocations: 1.305 MB / 2.569 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/4.443, allocations: 13.3 kB / 2.569 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/4.443, allocations: 2.5 kB / 2.569 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/4.443, allocations: 7.547 kB / 2.569 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/4.447, allocations: 2.464 MB / 2.572 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/4.447, allocations: 2.312 kB / 2.572 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/4.448, allocations: 188.9 kB / 2.572 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/4.448, allocations: 84.55 kB / 2.572 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/4.448, allocations: 28.72 kB / 2.572 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/4.45, allocations: 1.582 MB / 2.573 GB, free: 224.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/4.45, allocations: 0 / 2.573 GB, free: 224.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/4.452, allocations: 1.116 MB / 2.574 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/4.452, allocations: 353.8 kB / 2.575 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/4.453, allocations: 20.84 kB / 2.575 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/4.453, allocations: 80.22 kB / 2.575 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/4.453, allocations: 71.83 kB / 2.575 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/4.453, allocations: 37.3 kB / 2.575 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007138/4.454, allocations: 0.5919 MB / 2.576 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/4.454, allocations: 2.438 kB / 2.576 GB, free: 224.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001285/4.455, allocations: 438 kB / 2.576 GB, free: 224.3 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.00191/4.457, allocations: 1.07 MB / 2.577 GB, free: 224.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001691/4.459, allocations: 0.9298 MB / 2.578 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/4.459, allocations: 0 / 2.578 GB, free: 223.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008717/4.46, allocations: 0.5845 MB / 2.579 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/4.461, allocations: 256.2 kB / 2.579 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/4.466, allocations: 2.729 MB / 2.581 GB, free: 222.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/4.466, allocations: 1.15 MB / 2.583 GB, free: 221.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001616/4.468, allocations: 299.3 kB / 2.583 GB, free: 221.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/4.468, allocations: 120.9 kB / 2.583 GB, free: 221.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/4.468, allocations: 0 / 2.583 GB, free: 221.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.03233/4.501, allocations: 23.27 MB / 2.606 GB, free: 216.6 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)