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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4523/0.4523, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009702, allocations: 109.7 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 47.92 kB / 0.4891 GB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3616, allocations: 70.07 MB / 0.5575 GB, free: 44.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005418/0.3671, allocations: 4.169 MB / 0.5616 GB, free: 40.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1698/0.537, allocations: 148.2 MB / 0.7063 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008821/0.5379, allocations: 19.88 kB / 0.7064 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.5384, allocations: 139 kB / 0.7065 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.5397, allocations: 393.7 kB / 0.7069 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.5415, allocations: 0.7179 MB / 0.7076 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009713/0.5425, allocations: 1.129 MB / 0.7087 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008194/0.5433, allocations: 0.6697 MB / 0.7093 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.5437, allocations: 402.3 kB / 0.7097 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.5442, allocations: 459.6 kB / 0.7101 GB, free: 268 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.5443, allocations: 60 kB / 0.7102 GB, free: 208 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3009/0.8452, allocations: 418.3 kB / 0.7106 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.8455, allocations: 239.8 kB / 0.7108 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.846, allocations: 488.1 kB / 0.7113 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.8475, allocations: 1.498 MB / 0.7128 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.8475, allocations: 0 / 0.7128 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8475, allocations: 2.844 kB / 0.7128 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.8475, allocations: 0 / 0.7128 GB, free: 3.191 MB / 0.5105 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.002115/0.8497, allocations: 1.387 MB / 0.7141 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8497, allocations: 12.92 kB / 0.7141 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.8508, allocations: 203.1 kB / 0.7143 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.8518, allocations: 0.7244 MB / 0.715 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.8519, allocations: 69.56 kB / 0.7151 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.852, allocations: 87.91 kB / 0.7152 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.8536, allocations: 0.9558 MB / 0.7161 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8537, allocations: 0 / 0.7161 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.8537, allocations: 37.53 kB / 0.7161 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.8538, allocations: 21.81 kB / 0.7162 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8555, allocations: 1.126 MB / 0.7173 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.859, allocations: 2.571 MB / 0.7198 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.8603, allocations: 0.8209 MB / 0.7206 GB, free: 17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.8608, allocations: 288.1 kB / 0.7208 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.8614, allocations: 472.2 kB / 0.7213 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007267/0.8621, allocations: 440.7 kB / 0.7217 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.8621, allocations: 0 / 0.7217 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.002748/0.8649, allocations: 1.092 MB / 0.7228 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.865, allocations: 199.7 kB / 0.723 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.8656, allocations: 0.602 MB / 0.7236 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.8657, allocations: 44.12 kB / 0.7236 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.8659, allocations: 397.1 kB / 0.724 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.8661, allocations: 241.3 kB / 0.7242 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.8663, allocations: 153.2 kB / 0.7244 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8664, allocations: 376.2 kB / 0.7247 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.8669, allocations: 251.7 kB / 0.725 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.8674, allocations: 335.2 kB / 0.7253 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.8684, allocations: 0.5742 MB / 0.7258 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8685, allocations: 0 / 0.7258 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001843/0.8703, allocations: 0.7892 MB / 0.7266 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8703, allocations: 9.656 kB / 0.7266 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.8704, allocations: 0 / 0.7266 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/0.8709, allocations: 83.27 kB / 0.7267 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.8715, allocations: 154.5 kB / 0.7268 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.8738, allocations: 1.516 MB / 0.7283 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.8746, allocations: 83.42 kB / 0.7284 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.8747, allocations: 35.7 kB / 0.7284 GB, free: 13.62 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0005769/0.8753, allocations: 260.9 kB / 0.7287 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.8755, allocations: 78.88 kB / 0.7288 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.878, allocations: 0.9984 MB / 0.7297 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.878, allocations: 12.36 kB / 0.7298 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.878, allocations: 0 / 0.7298 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.878, allocations: 5 kB / 0.7298 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.8812, allocations: 1.895 MB / 0.7316 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8812, allocations: 0 / 0.7316 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.8817, allocations: 148.5 kB / 0.7317 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/0.8822, allocations: 80.72 kB / 0.7318 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.8823, allocations: 29.08 kB / 0.7319 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.8839, allocations: 1.535 MB / 0.7334 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8839, allocations: 0 / 0.7334 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.8866, allocations: 1.935 MB / 0.7352 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.887, allocations: 259.8 kB / 0.7355 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8871, allocations: 23.47 kB / 0.7355 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.8877, allocations: 55.97 kB / 0.7356 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.8878, allocations: 58.41 kB / 0.7356 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.8879, allocations: 33.55 kB / 0.7357 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004961/0.8884, allocations: 435.7 kB / 0.7361 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8884, allocations: 0 / 0.7361 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009958/0.8894, allocations: 325.8 kB / 0.7364 GB, free: 10.53 MB / 0.5261 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) * Number of clocked states: 0 () * 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 (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.001258/0.8907, allocations: 0.6203 MB / 0.737 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.8922, allocations: 0.7741 MB / 0.7377 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8922, allocations: 0 / 0.7377 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.893, allocations: 498.5 kB / 0.7382 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.8942, allocations: 257.1 kB / 0.7385 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.8984, allocations: 2.582 MB / 0.741 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.8991, allocations: 1.042 MB / 0.742 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009583/0.9, allocations: 257.8 kB / 0.7422 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.9003, allocations: 99.34 kB / 0.7423 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.9003, allocations: 4 kB / 0.7423 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of Templates: time 0.02201/0.9223, allocations: 14.02 MB / 0.756 GB, free: 4.809 MB / 0.5261 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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)