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.7916/0.7916, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.0009424/0.0009425, allocations: 172.9 kB / 182.2 MB, free: 9.457 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.427/1.427, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009399/0.0009397, allocations: 92.03 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001901/0.001901, allocations: 284 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.835e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4765, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.533/5.009, allocations: 1.692 GB / 2.449 GB, free: 59.03 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/5.01, allocations: 89.89 kB / 2.449 GB, free: 58.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6554/5.665, allocations: 93.47 MB / 2.541 GB, free: 234.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/5.665, allocations: 3.625 kB / 2.541 GB, free: 234.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.172e-05/5.665, allocations: 30.56 kB / 2.541 GB, free: 234.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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002606/5.668, allocations: 1.396 MB / 2.542 GB, free: 234.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/5.668, allocations: 11.34 kB / 2.542 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/5.669, allocations: 241.1 kB / 2.542 GB, free: 234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/5.671, allocations: 0.7824 MB / 2.543 GB, free: 233.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/5.671, allocations: 47.94 kB / 2.543 GB, free: 233.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/5.671, allocations: 79.22 kB / 2.543 GB, free: 233.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002468/5.673, allocations: 1.378 MB / 2.544 GB, free: 233.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/5.675, allocations: 1.174 MB / 2.546 GB, free: 233.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/5.675, allocations: 5.875 kB / 2.546 GB, free: 233.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/5.676, allocations: 3.656 kB / 2.546 GB, free: 233.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/5.676, allocations: 32.69 kB / 2.546 GB, free: 233.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006135/5.682, allocations: 3.559 MB / 2.549 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/5.683, allocations: 0.8535 MB / 2.55 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/5.683, allocations: 359.2 kB / 2.55 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/5.683, allocations: 52.81 kB / 2.55 GB, free: 232.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007405/5.684, allocations: 0.5186 MB / 2.551 GB, free: 232.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/5.684, allocations: 0 / 2.551 GB, free: 232.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.001864/5.686, allocations: 0.9156 MB / 2.552 GB, free: 232.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/5.686, allocations: 242 kB / 2.552 GB, free: 232.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/5.687, allocations: 0.582 MB / 2.553 GB, free: 232 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/5.687, allocations: 29.45 kB / 2.553 GB, free: 232 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/5.687, allocations: 0.5685 MB / 2.553 GB, free: 231.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/5.687, allocations: 337.6 kB / 2.553 GB, free: 231.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/5.688, allocations: 0 / 2.553 GB, free: 231.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001229/5.688, allocations: 395.5 kB / 2.554 GB, free: 231 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/5.688, allocations: 300 kB / 2.554 GB, free: 231 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/5.689, allocations: 419.2 kB / 2.555 GB, free: 230.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/5.689, allocations: 379.1 kB / 2.555 GB, free: 230.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/5.689, allocations: 0 / 2.555 GB, free: 230.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001813/5.691, allocations: 0.9493 MB / 2.556 GB, free: 230.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/5.691, allocations: 8.812 kB / 2.556 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/5.691, allocations: 0 / 2.556 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/5.692, allocations: 88.77 kB / 2.556 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/5.692, allocations: 213.9 kB / 2.556 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/5.694, allocations: 1.458 MB / 2.558 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/5.695, allocations: 84.17 kB / 2.558 GB, free: 229.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/5.695, allocations: 41.38 kB / 2.558 GB, free: 229.2 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.0002133/5.695, allocations: 128.5 kB / 2.558 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/5.695, allocations: 89 kB / 2.558 GB, free: 229 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/5.698, allocations: 1.283 MB / 2.559 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/5.698, allocations: 15.36 kB / 2.559 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/5.698, allocations: 0 / 2.559 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/5.698, allocations: 6.484 kB / 2.559 GB, free: 228.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/5.702, allocations: 2.328 MB / 2.561 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/5.702, allocations: 3.984 kB / 2.561 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/5.703, allocations: 197.8 kB / 2.562 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/5.703, allocations: 87.83 kB / 2.562 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/5.703, allocations: 17.89 kB / 2.562 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/5.705, allocations: 1.497 MB / 2.563 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.705, allocations: 0 / 2.563 GB, free: 226.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/5.707, allocations: 1.065 MB / 2.564 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/5.707, allocations: 351.8 kB / 2.565 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/5.707, allocations: 7.078 kB / 2.565 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/5.708, allocations: 50.33 kB / 2.565 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/5.708, allocations: 79.47 kB / 2.565 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/5.708, allocations: 35.45 kB / 2.565 GB, free: 225.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005801/5.709, allocations: 0.4978 MB / 2.565 GB, free: 225.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/5.709, allocations: 0 / 2.565 GB, free: 225.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001343/5.71, allocations: 436.6 kB / 2.566 GB, free: 225.5 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.001788/5.712, allocations: 1.093 MB / 2.567 GB, free: 225.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001565/5.714, allocations: 0.9086 MB / 2.568 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/5.714, allocations: 6.344 kB / 2.568 GB, free: 224.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/5.714, allocations: 0.5526 MB / 2.568 GB, free: 224.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/5.716, allocations: 226.1 kB / 2.568 GB, free: 224.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/5.72, allocations: 1.769 MB / 2.57 GB, free: 223.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/5.72, allocations: 1.198 MB / 2.571 GB, free: 222 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001061/5.721, allocations: 286.2 kB / 2.572 GB, free: 221.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/5.721, allocations: 127.4 kB / 2.572 GB, free: 221.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/5.722, allocations: 0 / 2.572 GB, free: 221.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02807/5.75, allocations: 18.82 MB / 2.59 GB, free: 203.2 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)