Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7827/0.7827, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.000967/0.000967, allocations: 180.6 kB / 187.3 MB, free: 11.89 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.34/1.34, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009731/0.0009732, allocations: 96.05 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 280.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.674e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4775, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.76/5.237, allocations: 1.693 GB / 2.457 GB, free: 54.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/5.238, allocations: 93.39 kB / 2.457 GB, free: 54.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7339/5.971, allocations: 94.36 MB / 2.549 GB, free: 232 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/5.971, allocations: 0 / 2.549 GB, free: 232 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.189e-05/5.972, allocations: 40.28 kB / 2.549 GB, free: 232 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002394/5.974, allocations: 1.394 MB / 2.55 GB, free: 231.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/5.974, allocations: 10.03 kB / 2.55 GB, free: 231.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/5.975, allocations: 237.8 kB / 2.551 GB, free: 231 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/5.976, allocations: 0.7773 MB / 2.551 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.418e-05/5.976, allocations: 106.2 kB / 2.552 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/5.976, allocations: 142 kB / 2.552 GB, free: 230.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/5.979, allocations: 1.368 MB / 2.553 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/5.979, allocations: 2.922 kB / 2.553 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/5.979, allocations: 62.38 kB / 2.553 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/5.979, allocations: 33.38 kB / 2.553 GB, free: 230.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/5.981, allocations: 1.456 MB / 2.555 GB, free: 230 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/5.986, allocations: 3.826 MB / 2.558 GB, free: 228.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/5.987, allocations: 0.9211 MB / 2.559 GB, free: 228.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/5.988, allocations: 390.1 kB / 2.56 GB, free: 228.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/5.988, allocations: 41.28 kB / 2.56 GB, free: 228.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008219/5.989, allocations: 0.5553 MB / 2.56 GB, free: 227.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.105e-06/5.989, allocations: 2.219 kB / 2.56 GB, free: 227.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.001961/5.991, allocations: 0.9647 MB / 2.561 GB, free: 227.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/5.991, allocations: 248.7 kB / 2.561 GB, free: 227.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/5.992, allocations: 0.7196 MB / 2.562 GB, free: 227.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/5.992, allocations: 50.45 kB / 2.562 GB, free: 227.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/5.992, allocations: 0.5511 MB / 2.563 GB, free: 226.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/5.993, allocations: 346.4 kB / 2.563 GB, free: 226.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/5.993, allocations: 20.41 kB / 2.563 GB, free: 226.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/5.993, allocations: 341.6 kB / 2.563 GB, free: 226.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/5.993, allocations: 321.2 kB / 2.564 GB, free: 226.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/5.994, allocations: 439.5 kB / 2.564 GB, free: 226.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/5.994, allocations: 393.9 kB / 2.564 GB, free: 226.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/5.994, allocations: 2.516 kB / 2.564 GB, free: 226.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001862/5.996, allocations: 1.014 MB / 2.565 GB, free: 225.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/5.996, allocations: 5.094 kB / 2.565 GB, free: 225.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/5.996, allocations: 5.578 kB / 2.565 GB, free: 225.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/5.997, allocations: 87.73 kB / 2.565 GB, free: 225.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/5.998, allocations: 210.4 kB / 2.566 GB, free: 225.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/6, allocations: 1.532 MB / 2.567 GB, free: 224 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/6, allocations: 112.4 kB / 2.567 GB, free: 224 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/6, allocations: 46.59 kB / 2.567 GB, free: 223.9 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 (116): * Single equations (assignments): 115 * 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.0002092/6.001, allocations: 160.6 kB / 2.567 GB, free: 223.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/6.001, allocations: 100.3 kB / 2.568 GB, free: 223.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/6.004, allocations: 1.37 MB / 2.569 GB, free: 223 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/6.004, allocations: 11.09 kB / 2.569 GB, free: 223 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/6.004, allocations: 0 / 2.569 GB, free: 223 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/6.004, allocations: 7.969 kB / 2.569 GB, free: 223 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/6.008, allocations: 2.57 MB / 2.571 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.008, allocations: 3.938 kB / 2.571 GB, free: 221.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/6.009, allocations: 196.2 kB / 2.572 GB, free: 221.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/6.009, allocations: 90.77 kB / 2.572 GB, free: 221.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/6.009, allocations: 31.16 kB / 2.572 GB, free: 221.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/6.011, allocations: 1.553 MB / 2.573 GB, free: 219.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/6.011, allocations: 0 / 2.573 GB, free: 219.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/6.012, allocations: 1.133 MB / 2.574 GB, free: 218.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/6.013, allocations: 370.1 kB / 2.575 GB, free: 217.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/6.013, allocations: 20 kB / 2.575 GB, free: 217.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/6.014, allocations: 75.62 kB / 2.575 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/6.014, allocations: 74.86 kB / 2.575 GB, free: 217.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/6.014, allocations: 39.98 kB / 2.575 GB, free: 217.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006984/6.015, allocations: 0.6124 MB / 2.576 GB, free: 217.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/6.015, allocations: 0 / 2.576 GB, free: 217.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001326/6.016, allocations: 466.1 kB / 2.576 GB, free: 216.6 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 (115): * Single equations (assignments): 112 * 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.001799/6.018, allocations: 1.04 MB / 2.577 GB, free: 216 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001513/6.019, allocations: 0.966 MB / 2.578 GB, free: 215 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/6.019, allocations: 0 / 2.578 GB, free: 215 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007595/6.02, allocations: 0.5819 MB / 2.578 GB, free: 214.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/6.021, allocations: 252.3 kB / 2.579 GB, free: 214.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/6.025, allocations: 1.844 MB / 2.581 GB, free: 212.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/6.025, allocations: 1.189 MB / 2.582 GB, free: 211.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008988/6.026, allocations: 308.5 kB / 2.582 GB, free: 210.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/6.027, allocations: 131.4 kB / 2.582 GB, free: 210.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/6.027, allocations: 0 / 2.582 GB, free: 210.7 MB / 0.698 GB Notification: Performance of Templates: time 0.03874/6.065, allocations: 25.64 MB / 2.607 GB, free: 185.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)