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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001505/0.001505, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.359/1.359, allocations: 225.6 MB / 244.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8032/0.8032, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.5 kB / 0.5911 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 83.26 MB / 0.6725 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007189/0.1528, allocations: 5.192 MB / 0.6775 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4739/0.6267, allocations: 151.2 MB / 0.8252 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.6275, allocations: 17.41 kB / 0.8252 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.6281, allocations: 208 kB / 0.8254 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.6297, allocations: 0.5725 MB / 0.826 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.6315, allocations: 0.8865 MB / 0.8268 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.6329, allocations: 1.449 MB / 0.8282 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000759/0.6337, allocations: 474.5 kB / 0.8287 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.6344, allocations: 0.5217 MB / 0.8292 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.635, allocations: 0.5474 MB / 0.8297 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.6352, allocations: 127.2 kB / 0.8298 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008631/0.636, allocations: 0.5107 MB / 0.8303 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.6363, allocations: 315.9 kB / 0.8306 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.6368, allocations: 0.601 MB / 0.8312 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.6388, allocations: 1.764 MB / 0.833 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6388, allocations: 0 / 0.833 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6388, allocations: 0 / 0.833 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.6388, allocations: 1.812 kB / 0.833 GB, free: 0.9375 MB / 0.5919 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.002626/0.6415, allocations: 1.543 MB / 0.8345 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6415, allocations: 11.44 kB / 0.8345 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.6426, allocations: 222.4 kB / 0.8347 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.6438, allocations: 0.7899 MB / 0.8355 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.6439, allocations: 67.75 kB / 0.8355 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.644, allocations: 97.38 kB / 0.8356 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.6458, allocations: 1.016 MB / 0.8366 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6458, allocations: 6.125 kB / 0.8366 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.6459, allocations: 46.47 kB / 0.8367 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.6459, allocations: 22.97 kB / 0.8367 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.6477, allocations: 1.174 MB / 0.8378 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.6522, allocations: 3.04 MB / 0.8408 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.6538, allocations: 0.8786 MB / 0.8417 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.6544, allocations: 288.7 kB / 0.8419 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006891/0.6551, allocations: 474.6 kB / 0.8424 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008949/0.656, allocations: 0.4963 MB / 0.8429 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.084e-06/0.656, allocations: 0 / 0.8429 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.003295/0.6593, allocations: 1.238 MB / 0.8441 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.6594, allocations: 198.7 kB / 0.8443 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.6602, allocations: 0.6391 MB / 0.8449 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/0.6602, allocations: 42.45 kB / 0.8449 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.6606, allocations: 427.9 kB / 0.8453 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.6609, allocations: 281.4 kB / 0.8456 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.6611, allocations: 170.9 kB / 0.8458 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6614, allocations: 389.2 kB / 0.8461 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.6619, allocations: 279.5 kB / 0.8464 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.6626, allocations: 375.8 kB / 0.8468 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.6637, allocations: 0.6266 MB / 0.8474 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6637, allocations: 0 / 0.8474 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002016/0.6657, allocations: 0.8818 MB / 0.8482 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6657, allocations: 8.812 kB / 0.8482 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6657, allocations: 2.625 kB / 0.8483 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/0.6663, allocations: 84.5 kB / 0.8483 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.667, allocations: 167.8 kB / 0.8485 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.6691, allocations: 1.627 MB / 0.8501 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.6699, allocations: 92.56 kB / 0.8502 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.67, allocations: 46.06 kB / 0.8502 GB, free: 4.359 MB / 0.6075 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.0004546/0.6705, allocations: 286 kB / 0.8505 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6706, allocations: 94.31 kB / 0.8506 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.673, allocations: 1.081 MB / 0.8516 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.6731, allocations: 18.17 kB / 0.8516 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6731, allocations: 0 / 0.8516 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6731, allocations: 3.984 kB / 0.8517 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/0.6765, allocations: 2.003 MB / 0.8536 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6765, allocations: 4 kB / 0.8536 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.6772, allocations: 151.8 kB / 0.8538 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.6776, allocations: 76.77 kB / 0.8538 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.6777, allocations: 23.98 kB / 0.8539 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.6798, allocations: 1.655 MB / 0.8555 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6798, allocations: 0 / 0.8555 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.682, allocations: 1.026 MB / 0.8565 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.6824, allocations: 276.2 kB / 0.8567 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.6825, allocations: 24 kB / 0.8568 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/0.6832, allocations: 67.92 kB / 0.8568 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6834, allocations: 64.91 kB / 0.8569 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.6834, allocations: 39.97 kB / 0.8569 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006109/0.684, allocations: 463 kB / 0.8574 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.684, allocations: 0 / 0.8574 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009796/0.685, allocations: 374.9 kB / 0.8577 GB, free: 13.26 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.001941/0.687, allocations: 0.6271 MB / 0.8583 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.6888, allocations: 0.8235 MB / 0.8591 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6888, allocations: 0 / 0.8591 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.6898, allocations: 0.5002 MB / 0.8596 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6911, allocations: 293.5 kB / 0.8599 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.6943, allocations: 1.754 MB / 0.8616 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.695, allocations: 1.043 MB / 0.8626 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008178/0.6958, allocations: 266.8 kB / 0.8629 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.6961, allocations: 115.3 kB / 0.863 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of SimCode: time 6.62e-07/0.6961, allocations: 0 / 0.863 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of Templates: time 0.02893/0.725, allocations: 16.14 MB / 0.8788 GB, free: 7.988 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (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) [Timeout 480]