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.7824/0.7824, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001178/0.001178, allocations: 181.9 kB / 187.3 MB, free: 11.87 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.617/1.617, allocations: 221.3 MB / 441.4 MB, free: 4.559 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.001003/0.001003, allocations: 94.91 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002008, allocations: 272.7 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.33e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5939, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.608/5.202, allocations: 1.692 GB / 2.456 GB, free: 51.04 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/5.202, allocations: 100.1 kB / 2.456 GB, free: 50.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.504/5.706, allocations: 68.07 MB / 2.523 GB, free: 235.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/5.706, allocations: 1.125 kB / 2.523 GB, free: 235.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.878e-05/5.706, allocations: 35.75 kB / 2.523 GB, free: 235.5 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001621/5.708, allocations: 1.117 MB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/5.708, allocations: 7.844 kB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/5.709, allocations: 212.3 kB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/5.71, allocations: 0.6357 MB / 2.525 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/5.71, allocations: 67.48 kB / 2.525 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.46e-05/5.71, allocations: 88.44 kB / 2.525 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/5.711, allocations: 0.9041 MB / 2.526 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/5.711, allocations: 6.672 kB / 2.526 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/5.711, allocations: 36.66 kB / 2.526 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/5.711, allocations: 23.62 kB / 2.526 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/5.712, allocations: 1.075 MB / 2.527 GB, free: 234.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/5.716, allocations: 2.599 MB / 2.529 GB, free: 233.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/5.716, allocations: 0.7765 MB / 2.53 GB, free: 233.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/5.717, allocations: 268.6 kB / 2.53 GB, free: 233.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/5.717, allocations: 471.1 kB / 2.531 GB, free: 233.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/5.718, allocations: 413.5 kB / 2.531 GB, free: 233.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/5.718, allocations: 0 / 2.531 GB, free: 233.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001455/5.719, allocations: 0.6947 MB / 2.532 GB, free: 233 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/5.719, allocations: 251.7 kB / 2.532 GB, free: 232.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/5.72, allocations: 0.5842 MB / 2.533 GB, free: 232.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/5.72, allocations: 42.64 kB / 2.533 GB, free: 232.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/5.72, allocations: 405 kB / 2.533 GB, free: 232.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/5.72, allocations: 239.4 kB / 2.533 GB, free: 232.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/5.721, allocations: 9.438 kB / 2.533 GB, free: 232.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/5.721, allocations: 383.7 kB / 2.534 GB, free: 231.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/5.721, allocations: 202.5 kB / 2.534 GB, free: 231.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/5.721, allocations: 312.9 kB / 2.534 GB, free: 231.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/5.722, allocations: 248.7 kB / 2.534 GB, free: 231.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/5.722, allocations: 0 / 2.534 GB, free: 231.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001299/5.723, allocations: 0.6884 MB / 2.535 GB, free: 231.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/5.723, allocations: 3.094 kB / 2.535 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.723, allocations: 0 / 2.535 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/5.724, allocations: 93.56 kB / 2.535 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/5.724, allocations: 145 kB / 2.535 GB, free: 231.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/5.726, allocations: 1.511 MB / 2.537 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/5.726, allocations: 85.81 kB / 2.537 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/5.726, allocations: 31.91 kB / 2.537 GB, free: 230.4 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 (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.0001428/5.727, allocations: 141.8 kB / 2.537 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/5.727, allocations: 75.09 kB / 2.537 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/5.728, allocations: 0.966 MB / 2.538 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/5.728, allocations: 7.219 kB / 2.538 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/5.729, allocations: 2.344 kB / 2.538 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/5.729, allocations: 7.031 kB / 2.538 GB, free: 230.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/5.731, allocations: 1.887 MB / 2.54 GB, free: 229.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/5.731, allocations: 0 / 2.54 GB, free: 229.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/5.732, allocations: 149.2 kB / 2.54 GB, free: 229.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/5.732, allocations: 82.36 kB / 2.54 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/5.732, allocations: 29.72 kB / 2.54 GB, free: 229.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/5.734, allocations: 1.536 MB / 2.542 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/5.734, allocations: 3.891 kB / 2.542 GB, free: 228.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/5.735, allocations: 0.8808 MB / 2.542 GB, free: 228.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/5.735, allocations: 283.1 kB / 2.543 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/5.735, allocations: 15.62 kB / 2.543 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/5.736, allocations: 74.77 kB / 2.543 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/5.736, allocations: 66.14 kB / 2.543 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/5.736, allocations: 27.66 kB / 2.543 GB, free: 228.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004861/5.737, allocations: 488.4 kB / 2.543 GB, free: 228 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.737, allocations: 2.625 kB / 2.543 GB, free: 228 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001087/5.738, allocations: 383.9 kB / 2.544 GB, free: 227.9 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 (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.00217/5.74, allocations: 1.04 MB / 2.545 GB, free: 227.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001471/5.741, allocations: 0.6875 MB / 2.545 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/5.741, allocations: 1.781 kB / 2.545 GB, free: 227.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000632/5.742, allocations: 481.4 kB / 2.546 GB, free: 227.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/5.743, allocations: 237.5 kB / 2.546 GB, free: 227.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/5.746, allocations: 1.367 MB / 2.547 GB, free: 227.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/5.747, allocations: 1.039 MB / 2.548 GB, free: 226.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008746/5.748, allocations: 268.8 kB / 2.549 GB, free: 226.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/5.748, allocations: 90.5 kB / 2.549 GB, free: 226.4 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/5.748, allocations: 0 / 2.549 GB, free: 226.4 MB / 0.698 GB Notification: Performance of Templates: time 0.02883/5.777, allocations: 22.31 MB / 2.571 GB, free: 217.3 MB / 0.698 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)