Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001261/0.001261, allocations: 110 kB / 17.04 MB, free: 5.812 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.001076/0.001076, allocations: 195 kB / 17.98 MB, free: 5.027 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.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7245/0.7245, allocations: 115.1 MB / 406.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3626, allocations: 76.14 MB / 0.5576 GB, free: 36.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00623/0.3689, allocations: 5.153 MB / 0.5626 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1638/0.5328, allocations: 150.7 MB / 0.7098 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.5344, allocations: 23.88 kB / 0.7098 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.5351, allocations: 202.1 kB / 0.71 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.5373, allocations: 0.5579 MB / 0.7105 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.5395, allocations: 0.8643 MB / 0.7114 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.5411, allocations: 1.456 MB / 0.7128 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008616/0.5419, allocations: 0.6561 MB / 0.7134 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.5425, allocations: 0.51 MB / 0.7139 GB, free: 4.066 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005758/0.5431, allocations: 0.5523 MB / 0.7145 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.5433, allocations: 127.9 kB / 0.7146 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009045/0.5442, allocations: 0.5074 MB / 0.7151 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.5445, allocations: 315 kB / 0.7154 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.545, allocations: 0.6102 MB / 0.716 GB, free: 1.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.5467, allocations: 1.756 MB / 0.7177 GB, free: 200 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5467, allocations: 0 / 0.7177 GB, free: 200 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5467, allocations: 4 kB / 0.7177 GB, free: 196 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.5467, allocations: 0 / 0.7177 GB, free: 196 kB / 0.545 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.002429/0.5492, allocations: 1.5 MB / 0.7192 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5492, allocations: 12.03 kB / 0.7192 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5503, allocations: 215.3 kB / 0.7194 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.5514, allocations: 0.7888 MB / 0.7202 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.5515, allocations: 70 kB / 0.7202 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.5516, allocations: 92 kB / 0.7203 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.5533, allocations: 1.012 MB / 0.7213 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5533, allocations: 3.938 kB / 0.7213 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/0.5534, allocations: 43.98 kB / 0.7214 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5534, allocations: 24 kB / 0.7214 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.5553, allocations: 1.175 MB / 0.7225 GB, free: 11.13 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004077/0.5594, allocations: 2.939 MB / 0.7254 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.561, allocations: 0.9074 MB / 0.7263 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.5616, allocations: 318.7 kB / 0.7266 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.5622, allocations: 466.2 kB / 0.727 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008579/0.5631, allocations: 0.5069 MB / 0.7275 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.234e-06/0.5631, allocations: 0 / 0.7275 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003231/0.5663, allocations: 1.233 MB / 0.7287 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.5664, allocations: 196.6 kB / 0.7289 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.5672, allocations: 0.641 MB / 0.7295 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.5673, allocations: 41.7 kB / 0.7296 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.5677, allocations: 432.2 kB / 0.73 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.5679, allocations: 264.1 kB / 0.7303 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.5683, allocations: 166.5 kB / 0.7304 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002615/0.5686, allocations: 386.7 kB / 0.7308 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005871/0.5692, allocations: 277.8 kB / 0.731 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.5698, allocations: 379.1 kB / 0.7314 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.5712, allocations: 0.6307 MB / 0.732 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5712, allocations: 0 / 0.732 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002076/0.5733, allocations: 0.876 MB / 0.7329 GB, free: 124 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.5734, allocations: 4 kB / 0.7329 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.5734, allocations: 7.938 kB / 0.7329 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.574, allocations: 84.86 kB / 0.733 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.5747, allocations: 163.8 kB / 0.7331 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.5767, allocations: 1.631 MB / 0.7347 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.5775, allocations: 103.3 kB / 0.7348 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.5775, allocations: 39.97 kB / 0.7349 GB, free: 13.94 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.0004652/0.578, allocations: 267.4 kB / 0.7351 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.5782, allocations: 82.97 kB / 0.7352 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.5805, allocations: 1.101 MB / 0.7363 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.5805, allocations: 8.047 kB / 0.7363 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5805, allocations: 3.984 kB / 0.7363 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5805, allocations: 3.984 kB / 0.7363 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.5838, allocations: 1.997 MB / 0.7382 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5838, allocations: 4 kB / 0.7382 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.5844, allocations: 147.8 kB / 0.7384 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/0.5848, allocations: 72.78 kB / 0.7384 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.5849, allocations: 23.98 kB / 0.7385 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.5868, allocations: 1.666 MB / 0.7401 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5868, allocations: 0 / 0.7401 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.5888, allocations: 1.025 MB / 0.7411 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.5892, allocations: 279.7 kB / 0.7414 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5893, allocations: 20 kB / 0.7414 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006298/0.5899, allocations: 73.58 kB / 0.7414 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.5901, allocations: 68.89 kB / 0.7415 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.5902, allocations: 39.92 kB / 0.7416 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005863/0.5908, allocations: 467 kB / 0.742 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5908, allocations: 0 / 0.742 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009678/0.5918, allocations: 355.1 kB / 0.7423 GB, free: 6.004 MB / 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.001355/0.5931, allocations: 0.6245 MB / 0.7429 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.5949, allocations: 0.8507 MB / 0.7438 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5949, allocations: 8.188 kB / 0.7438 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/0.5958, allocations: 0.5236 MB / 0.7443 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5969, allocations: 307.8 kB / 0.7446 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.5999, allocations: 1.726 MB / 0.7463 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/0.6005, allocations: 1.039 MB / 0.7473 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007583/0.6013, allocations: 270.8 kB / 0.7475 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.6016, allocations: 107.3 kB / 0.7477 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.6016, allocations: 0 / 0.7477 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of Templates: time 0.2618/0.8634, allocations: 15.76 MB / 0.763 GB, free: 170.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)