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.001529/0.001529, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001734/0.001734, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 272.2 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 87.95 kB / 0.5945 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1379, allocations: 86.99 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005523/0.1435, allocations: 4.42 MB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4477/0.5912, allocations: 148.3 MB / 0.8286 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.592, allocations: 19.28 kB / 0.8286 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.5927, allocations: 135.6 kB / 0.8288 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.5943, allocations: 434.1 kB / 0.8292 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.5962, allocations: 0.7431 MB / 0.8299 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.5976, allocations: 1.239 MB / 0.8311 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/0.5986, allocations: 0.6834 MB / 0.8318 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007047/0.5993, allocations: 436.9 kB / 0.8322 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006714/0.6, allocations: 0.494 MB / 0.8327 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.6003, allocations: 63.53 kB / 0.8327 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.6014, allocations: 432.1 kB / 0.8331 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.6018, allocations: 254.5 kB / 0.8334 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.6025, allocations: 0.5303 MB / 0.8339 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.6042, allocations: 1.613 MB / 0.8355 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6042, allocations: 0 / 0.8355 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6042, allocations: 5.156 kB / 0.8355 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.6042, allocations: 0 / 0.8355 GB, free: 15.83 MB / 0.5762 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.002556/0.6068, allocations: 1.476 MB / 0.8369 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6068, allocations: 9.594 kB / 0.8369 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.608, allocations: 218.8 kB / 0.8371 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.609, allocations: 0.7625 MB / 0.8379 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.6091, allocations: 71.06 kB / 0.838 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.6092, allocations: 92.03 kB / 0.838 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.611, allocations: 1.022 MB / 0.839 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.6111, allocations: 3.938 kB / 0.839 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.6112, allocations: 37.41 kB / 0.8391 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.6112, allocations: 24 kB / 0.8391 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.6134, allocations: 1.172 MB / 0.8402 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.6178, allocations: 2.706 MB / 0.8429 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.6194, allocations: 0.9073 MB / 0.8438 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.62, allocations: 316.9 kB / 0.8441 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000738/0.6207, allocations: 474.2 kB / 0.8445 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/0.6217, allocations: 0.4987 MB / 0.845 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.6218, allocations: 0 / 0.845 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003384/0.6252, allocations: 1.224 MB / 0.8462 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.6253, allocations: 196.6 kB / 0.8464 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/0.6261, allocations: 0.6364 MB / 0.847 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.6262, allocations: 40.95 kB / 0.8471 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.6265, allocations: 425 kB / 0.8475 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.6267, allocations: 272.9 kB / 0.8477 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.627, allocations: 168.3 kB / 0.8479 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6271, allocations: 390.8 kB / 0.8483 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.6277, allocations: 272.1 kB / 0.8485 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.6283, allocations: 378.1 kB / 0.8489 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.6295, allocations: 0.6221 MB / 0.8495 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6295, allocations: 3.938 kB / 0.8495 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002056/0.6316, allocations: 0.8685 MB / 0.8503 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.6316, allocations: 9.25 kB / 0.8503 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6316, allocations: 2.062 kB / 0.8504 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.6322, allocations: 84.58 kB / 0.8504 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.633, allocations: 163.5 kB / 0.8506 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.635, allocations: 1.511 MB / 0.8521 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008553/0.6359, allocations: 101 kB / 0.8522 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/0.636, allocations: 39.53 kB / 0.8522 GB, free: 5.555 MB / 0.5762 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.000516/0.6365, allocations: 282 kB / 0.8525 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.6367, allocations: 86.17 kB / 0.8525 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.6391, allocations: 1.086 MB / 0.8536 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.6391, allocations: 13.44 kB / 0.8536 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6391, allocations: 7.875 kB / 0.8536 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6391, allocations: 7.969 kB / 0.8536 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.6424, allocations: 2.003 MB / 0.8556 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6424, allocations: 0 / 0.8556 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.643, allocations: 153.6 kB / 0.8557 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.6435, allocations: 81.41 kB / 0.8558 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.6436, allocations: 27.59 kB / 0.8558 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.6453, allocations: 1.557 MB / 0.8574 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6453, allocations: 0 / 0.8574 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.6474, allocations: 1.011 MB / 0.8583 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.6477, allocations: 282.3 kB / 0.8586 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6479, allocations: 24.78 kB / 0.8586 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006875/0.6486, allocations: 64.58 kB / 0.8587 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6487, allocations: 73.67 kB / 0.8588 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.6488, allocations: 30.83 kB / 0.8588 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005357/0.6493, allocations: 470.3 kB / 0.8593 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6493, allocations: 4 kB / 0.8593 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000918/0.6503, allocations: 338.9 kB / 0.8596 GB, free: 488 kB / 0.5762 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.001311/0.6516, allocations: 0.6311 MB / 0.8602 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.6533, allocations: 0.8509 MB / 0.861 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6533, allocations: 5.531 kB / 0.861 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.6543, allocations: 0.5239 MB / 0.8615 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6554, allocations: 262.1 kB / 0.8618 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.6594, allocations: 2.302 MB / 0.864 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.66, allocations: 1.042 MB / 0.8651 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008778/0.6608, allocations: 268 kB / 0.8653 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.6611, allocations: 108.4 kB / 0.8654 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.6611, allocations: 0 / 0.8654 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.02281/0.6839, allocations: 14.64 MB / 0.8797 GB, free: 1.996 MB / 0.5919 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)