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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 113.5 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002188, allocations: 299.6 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 94.75 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1444, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005762/0.1502, allocations: 4.419 MB / 0.6859 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3835/0.5337, allocations: 150.6 MB / 0.833 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.5344, allocations: 19.88 kB / 0.833 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.5349, allocations: 177.3 kB / 0.8332 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.5363, allocations: 0.5119 MB / 0.8337 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.5381, allocations: 0.8429 MB / 0.8345 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.5393, allocations: 1.347 MB / 0.8358 GB, free: 392 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.5402, allocations: 0.6947 MB / 0.8365 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.5407, allocations: 0.4982 MB / 0.837 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.5412, allocations: 0.5289 MB / 0.8375 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.5414, allocations: 128 kB / 0.8376 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.5422, allocations: 0.5071 MB / 0.8381 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.5424, allocations: 311 kB / 0.8384 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.5429, allocations: 0.579 MB / 0.839 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.5445, allocations: 1.716 MB / 0.8407 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5445, allocations: 3.938 kB / 0.8407 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5445, allocations: 4 kB / 0.8407 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5445, allocations: 4 kB / 0.8407 GB, free: 11.39 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002382/0.5469, allocations: 1.477 MB / 0.8421 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.5469, allocations: 15.97 kB / 0.8421 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.548, allocations: 211.3 kB / 0.8423 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.5492, allocations: 0.7737 MB / 0.8431 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.5493, allocations: 77.94 kB / 0.8432 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.5494, allocations: 88 kB / 0.8433 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.551, allocations: 1.012 MB / 0.8442 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5511, allocations: 3.938 kB / 0.8443 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.5512, allocations: 44 kB / 0.8443 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.5512, allocations: 24 kB / 0.8443 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.5531, allocations: 1.175 MB / 0.8455 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.5571, allocations: 2.671 MB / 0.8481 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.5588, allocations: 0.9146 MB / 0.849 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.5594, allocations: 318.7 kB / 0.8493 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006474/0.5601, allocations: 470.1 kB / 0.8497 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008712/0.561, allocations: 0.4914 MB / 0.8502 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.154e-06/0.561, allocations: 4 kB / 0.8502 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003174/0.5641, allocations: 1.225 MB / 0.8514 GB, free: 56 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5643, allocations: 200.5 kB / 0.8516 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.565, allocations: 0.6411 MB / 0.8522 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.5651, allocations: 45.7 kB / 0.8523 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.5654, allocations: 420.2 kB / 0.8527 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.5656, allocations: 268.1 kB / 0.8529 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.5659, allocations: 170.5 kB / 0.8531 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.566, allocations: 386.8 kB / 0.8534 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.5666, allocations: 275.3 kB / 0.8537 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.5673, allocations: 379 kB / 0.8541 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5685, allocations: 0.619 MB / 0.8547 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5685, allocations: 1.125 kB / 0.8547 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002002/0.5705, allocations: 0.8722 MB / 0.8555 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5705, allocations: 7.938 kB / 0.8555 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5705, allocations: 0 / 0.8555 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.5711, allocations: 80.88 kB / 0.8556 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5718, allocations: 167.7 kB / 0.8558 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.5739, allocations: 1.626 MB / 0.8574 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007004/0.5746, allocations: 103.3 kB / 0.8575 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.5747, allocations: 43.91 kB / 0.8575 GB, free: 9.551 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.575, allocations: 271.4 kB / 0.8578 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.5752, allocations: 86.95 kB / 0.8578 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.5777, allocations: 1.091 MB / 0.8589 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.5777, allocations: 8 kB / 0.8589 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.5777, allocations: 0 / 0.8589 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5777, allocations: 7.969 kB / 0.8589 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.581, allocations: 2.006 MB / 0.8609 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.5811, allocations: 8 kB / 0.8609 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.5817, allocations: 151.8 kB / 0.861 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.5822, allocations: 68.8 kB / 0.8611 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.5822, allocations: 35.91 kB / 0.8611 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.5841, allocations: 1.658 MB / 0.8628 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5841, allocations: 4.031 kB / 0.8628 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.5862, allocations: 1.017 MB / 0.8638 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.5866, allocations: 279.7 kB / 0.864 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.5867, allocations: 16 kB / 0.864 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.5874, allocations: 67.92 kB / 0.8641 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.5875, allocations: 68.91 kB / 0.8642 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.5876, allocations: 35.97 kB / 0.8642 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005377/0.5882, allocations: 467 kB / 0.8646 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.694e-06/0.5882, allocations: 0 / 0.8646 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008157/0.589, allocations: 354.9 kB / 0.865 GB, free: 1.621 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/0.5903, allocations: 0.6184 MB / 0.8656 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.592, allocations: 0.8507 MB / 0.8664 GB, free: 324 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.592, allocations: 4.188 kB / 0.8664 GB, free: 320 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.593, allocations: 0.5315 MB / 0.8669 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5942, allocations: 289.6 kB / 0.8672 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.5978, allocations: 1.83 MB / 0.869 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.5984, allocations: 1.046 MB / 0.87 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007309/0.5991, allocations: 266.7 kB / 0.8703 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.5994, allocations: 107.4 kB / 0.8704 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.5994, allocations: 0 / 0.8704 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.02358/0.623, allocations: 15.25 MB / 0.8853 GB, free: 13.17 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)