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.8101/0.8101, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001116/0.001116, allocations: 172.8 kB / 182.2 MB, free: 9.449 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.602/1.602, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001066/0.001067, allocations: 92.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 275.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.545e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.528, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.966/4.494, allocations: 1.691 GB / 2.448 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/4.494, allocations: 95.83 kB / 2.449 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4743/4.969, allocations: 67.22 MB / 2.514 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/4.969, allocations: 0 / 2.514 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.887e-05/4.969, allocations: 27.94 kB / 2.514 GB, free: 218.1 MB / 0.6823 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.001652/4.97, allocations: 1.119 MB / 2.515 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/4.97, allocations: 8.031 kB / 2.515 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009961/4.972, allocations: 230.3 kB / 2.516 GB, free: 216.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007936/4.972, allocations: 0.627 MB / 2.516 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/4.972, allocations: 28 kB / 2.516 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/4.972, allocations: 55.94 kB / 2.516 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/4.974, allocations: 1.023 MB / 2.517 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/4.975, allocations: 0.7818 MB / 2.518 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/4.975, allocations: 0 / 2.518 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/4.975, allocations: 4 kB / 2.518 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/4.975, allocations: 20 kB / 2.518 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/4.978, allocations: 2.419 MB / 2.52 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/4.979, allocations: 0.733 MB / 2.521 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/4.979, allocations: 243.2 kB / 2.521 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00051/4.98, allocations: 474.3 kB / 2.522 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/4.98, allocations: 393 kB / 2.522 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/4.98, allocations: 0 / 2.522 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003916/4.984, allocations: 1.191 MB / 2.523 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/4.984, allocations: 244.1 kB / 2.524 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/4.985, allocations: 0.4905 MB / 2.524 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/4.985, allocations: 33.7 kB / 2.524 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/4.985, allocations: 404 kB / 2.524 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/4.985, allocations: 232.5 kB / 2.525 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/4.985, allocations: 0 / 2.525 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/4.985, allocations: 378.8 kB / 2.525 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/4.986, allocations: 181.5 kB / 2.525 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/4.986, allocations: 291.5 kB / 2.525 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/4.989, allocations: 0.7734 MB / 2.526 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/4.989, allocations: 0 / 2.526 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003755/4.993, allocations: 1.191 MB / 2.527 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/4.993, allocations: 4 kB / 2.527 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/4.993, allocations: 4.062 kB / 2.527 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/4.993, allocations: 72.78 kB / 2.527 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/4.994, allocations: 147.8 kB / 2.528 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/4.995, allocations: 1.442 MB / 2.529 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/4.996, allocations: 71.48 kB / 2.529 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/4.996, allocations: 23.98 kB / 2.529 GB, free: 202.2 MB / 0.6823 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 (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.0001513/4.996, allocations: 118.3 kB / 2.529 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/4.996, allocations: 79.09 kB / 2.529 GB, free: 202 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/5, allocations: 1.441 MB / 2.531 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/5, allocations: 15.94 kB / 2.531 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/5, allocations: 4 kB / 2.531 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/5, allocations: 3.984 kB / 2.531 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004839/5.005, allocations: 2.249 MB / 2.533 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/5.005, allocations: 0 / 2.533 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/5.006, allocations: 143.8 kB / 2.533 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/5.006, allocations: 84.77 kB / 2.533 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/5.006, allocations: 19.94 kB / 2.533 GB, free: 198 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/5.008, allocations: 1.473 MB / 2.535 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/5.008, allocations: 0 / 2.535 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/5.012, allocations: 1.365 MB / 2.536 GB, free: 195 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/5.012, allocations: 283.8 kB / 2.536 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/5.012, allocations: 0 / 2.536 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/5.013, allocations: 55.94 kB / 2.536 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.74e-05/5.013, allocations: 56.7 kB / 2.536 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/5.013, allocations: 31.98 kB / 2.536 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004551/5.013, allocations: 398.9 kB / 2.537 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.013, allocations: 4 kB / 2.537 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001041/5.014, allocations: 358.9 kB / 2.537 GB, free: 193.8 MB / 0.6823 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 (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.001719/5.016, allocations: 1.105 MB / 2.538 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001018/5.017, allocations: 0.651 MB / 2.539 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/5.017, allocations: 128 / 2.539 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/5.018, allocations: 448.6 kB / 2.539 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/5.019, allocations: 218.3 kB / 2.539 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/5.022, allocations: 1.327 MB / 2.541 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/5.022, allocations: 1.039 MB / 2.542 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007814/5.023, allocations: 265.6 kB / 2.542 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/5.023, allocations: 91.39 kB / 2.542 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/5.023, allocations: 3.938 kB / 2.542 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.02138/5.044, allocations: 15.8 MB / 2.558 GB, free: 173 MB / 0.6823 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)