Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8493/0.8493, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001039/0.001039, allocations: 185 kB / 191.5 MB, free: 5.758 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.321/1.321, allocations: 223.2 MB / 447.7 MB, free: 4.773 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.0009134/0.0009135, allocations: 92.28 kB / 0.5188 GB, free: 1.137 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 275.4 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004122, allocations: 15.41 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 82.8 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.41/3.56, allocations: 1.692 GB / 2.466 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/3.561, allocations: 99.83 kB / 2.466 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1395/3.7, allocations: 68.36 MB / 2.532 GB, free: 40.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.815e-06/3.7, allocations: 7.938 kB / 2.532 GB, free: 40.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.804e-05/3.7, allocations: 28 kB / 2.532 GB, free: 39.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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0021/3.702, allocations: 1.235 MB / 2.534 GB, free: 38.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/3.702, allocations: 8.031 kB / 2.534 GB, free: 38.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/3.703, allocations: 218.5 kB / 2.534 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/3.704, allocations: 0.6308 MB / 2.534 GB, free: 37.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/3.704, allocations: 66 kB / 2.535 GB, free: 37.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/3.704, allocations: 88 kB / 2.535 GB, free: 37.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/3.706, allocations: 0.9457 MB / 2.536 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/3.706, allocations: 11.88 kB / 2.536 GB, free: 36.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/3.706, allocations: 36 kB / 2.536 GB, free: 36.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/3.706, allocations: 24 kB / 2.536 GB, free: 36.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/3.707, allocations: 1.136 MB / 2.537 GB, free: 35.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/3.711, allocations: 2.598 MB / 2.539 GB, free: 32.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/3.712, allocations: 0.8246 MB / 2.54 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/3.712, allocations: 470.2 kB / 2.54 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/3.713, allocations: 440.4 kB / 2.541 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/3.713, allocations: 4 kB / 2.541 GB, free: 30.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002759/3.716, allocations: 1.128 MB / 2.542 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/3.716, allocations: 240 kB / 2.542 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/3.717, allocations: 0.601 MB / 2.543 GB, free: 28.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/3.717, allocations: 37.7 kB / 2.543 GB, free: 28.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/3.717, allocations: 400.2 kB / 2.543 GB, free: 28.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/3.717, allocations: 248.5 kB / 2.543 GB, free: 28.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/3.717, allocations: 8 kB / 2.543 GB, free: 28.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/3.717, allocations: 382.8 kB / 2.544 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/3.718, allocations: 225.2 kB / 2.544 GB, free: 27.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/3.718, allocations: 331.6 kB / 2.544 GB, free: 27.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/3.718, allocations: 275.1 kB / 2.545 GB, free: 26.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/3.718, allocations: 0 / 2.545 GB, free: 26.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001551/3.72, allocations: 0.7431 MB / 2.545 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/3.72, allocations: 13.09 kB / 2.545 GB, free: 26.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/3.72, allocations: 80 / 2.545 GB, free: 26.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/3.721, allocations: 84.78 kB / 2.545 GB, free: 26.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/3.721, allocations: 139.8 kB / 2.546 GB, free: 25.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/3.723, allocations: 1.542 MB / 2.547 GB, free: 24.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/3.724, allocations: 87.36 kB / 2.547 GB, free: 24.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/3.724, allocations: 27.98 kB / 2.547 GB, free: 24.17 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.000325/3.724, allocations: 253.6 kB / 2.547 GB, free: 23.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.934e-05/3.724, allocations: 87.05 kB / 2.548 GB, free: 23.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/3.726, allocations: 1.01 MB / 2.549 GB, free: 22.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/3.726, allocations: 11.98 kB / 2.549 GB, free: 22.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/3.726, allocations: 0 / 2.549 GB, free: 22.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/3.726, allocations: 7.984 kB / 2.549 GB, free: 22.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/3.729, allocations: 1.949 MB / 2.55 GB, free: 20.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/3.729, allocations: 0 / 2.55 GB, free: 20.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/3.73, allocations: 143.8 kB / 2.551 GB, free: 20.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/3.73, allocations: 84.77 kB / 2.551 GB, free: 20.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/3.73, allocations: 23.98 kB / 2.551 GB, free: 20.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/3.732, allocations: 1.559 MB / 2.552 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/3.732, allocations: 4.031 kB / 2.552 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/3.733, allocations: 0.9258 MB / 2.553 GB, free: 17.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/3.734, allocations: 291.8 kB / 2.553 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/3.734, allocations: 16 kB / 2.553 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/3.734, allocations: 71.94 kB / 2.553 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/3.734, allocations: 56.92 kB / 2.554 GB, free: 17.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/3.734, allocations: 27.98 kB / 2.554 GB, free: 17.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004884/3.735, allocations: 495 kB / 2.554 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/3.735, allocations: 0 / 2.554 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001068/3.736, allocations: 390.9 kB / 2.554 GB, free: 16.54 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 (84): * Single equations (assignments): 81 * 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.00177/3.738, allocations: 1.096 MB / 2.555 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001273/3.739, allocations: 0.7401 MB / 2.556 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/3.739, allocations: 0 / 2.556 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/3.74, allocations: 0.4964 MB / 2.557 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/3.741, allocations: 235.8 kB / 2.557 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/3.745, allocations: 2.173 MB / 2.559 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/3.745, allocations: 1.042 MB / 2.56 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007724/3.746, allocations: 262 kB / 2.56 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/3.746, allocations: 91.39 kB / 2.56 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/3.746, allocations: 0 / 2.56 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.3315/4.078, allocations: 20.64 MB / 2.581 GB, free: 228.5 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)