Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009295/0.0009298, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008779/0.000878, allocations: 171 kB / 16.56 MB, free: 6.391 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.348/1.348, allocations: 223.2 MB / 240.5 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6898/0.6898, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8.656 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004808/0.1678, allocations: 3.706 MB / 0.5605 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4648/0.6326, allocations: 127.6 MB / 0.685 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006777/0.6333, allocations: 15.94 kB / 0.685 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.6337, allocations: 75.22 kB / 0.6851 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.6349, allocations: 498.8 kB / 0.6856 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.6365, allocations: 0.6353 MB / 0.6862 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.6375, allocations: 0.8261 MB / 0.687 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.6382, allocations: 0.5504 MB / 0.6875 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.6386, allocations: 358.5 kB / 0.6879 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.639, allocations: 358.1 kB / 0.6882 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/0.6391, allocations: 28 kB / 0.6883 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.6398, allocations: 299.7 kB / 0.6885 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.64, allocations: 195.2 kB / 0.6887 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.6402, allocations: 205.1 kB / 0.6889 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.6413, allocations: 1.237 MB / 0.6901 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.6413, allocations: 4 kB / 0.6901 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6413, allocations: 0 / 0.6901 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.6413, allocations: 0 / 0.6901 GB, free: 1.328 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002089/0.6434, allocations: 1.275 MB / 0.6914 GB, free: 8 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6435, allocations: 12.08 kB / 0.6914 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.645, allocations: 314.1 kB / 0.6917 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6461, allocations: 0.7264 MB / 0.6924 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.159e-05/0.6461, allocations: 81.94 kB / 0.6925 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.6463, allocations: 92 kB / 0.6926 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.648, allocations: 1.062 MB / 0.6936 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.6481, allocations: 0 / 0.6936 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.085e-05/0.6482, allocations: 44 kB / 0.6936 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6482, allocations: 23.98 kB / 0.6937 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.6503, allocations: 1.272 MB / 0.6949 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.6548, allocations: 2.754 MB / 0.6976 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.6574, allocations: 1.031 MB / 0.6986 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.6575, allocations: 28.61 kB / 0.6986 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.6585, allocations: 0.551 MB / 0.6992 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 2.214e-06/0.6586, allocations: 3.938 kB / 0.6992 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.003672/0.6622, allocations: 1.392 MB / 0.7005 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.6624, allocations: 196.9 kB / 0.7007 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.6633, allocations: 0.6371 MB / 0.7013 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.6633, allocations: 41.7 kB / 0.7014 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.6637, allocations: 424.2 kB / 0.7018 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.664, allocations: 276 kB / 0.7021 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.664, allocations: 16 kB / 0.7021 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6642, allocations: 382.8 kB / 0.7024 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/0.6649, allocations: 305.8 kB / 0.7027 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008136/0.6657, allocations: 418.5 kB / 0.7031 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.6665, allocations: 338.9 kB / 0.7034 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6665, allocations: 0 / 0.7034 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002205/0.6687, allocations: 0.9229 MB / 0.7043 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6688, allocations: 4 kB / 0.7044 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6688, allocations: 0 / 0.7044 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.6694, allocations: 84.86 kB / 0.7044 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/0.6702, allocations: 179.7 kB / 0.7046 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.6723, allocations: 1.528 MB / 0.7061 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/0.6731, allocations: 126.5 kB / 0.7062 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.6731, allocations: 27.98 kB / 0.7062 GB, free: 332 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004705/0.6736, allocations: 278.6 kB / 0.7065 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6738, allocations: 87.14 kB / 0.7066 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.6765, allocations: 1.215 MB / 0.7078 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.6766, allocations: 8 kB / 0.7078 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6766, allocations: 3.781 kB / 0.7078 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.6766, allocations: 7.984 kB / 0.7078 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.6804, allocations: 2.153 MB / 0.7099 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6804, allocations: 0 / 0.7099 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.6812, allocations: 175.8 kB / 0.7101 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/0.6817, allocations: 92.64 kB / 0.7102 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/0.6818, allocations: 31.97 kB / 0.7102 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.6835, allocations: 1.552 MB / 0.7117 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6835, allocations: 0 / 0.7117 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.6859, allocations: 1.121 MB / 0.7128 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.6864, allocations: 299.5 kB / 0.7131 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6865, allocations: 23.92 kB / 0.7131 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/0.6873, allocations: 107.6 kB / 0.7132 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6874, allocations: 76.89 kB / 0.7133 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-05/0.6875, allocations: 35.97 kB / 0.7133 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006634/0.6882, allocations: 463 kB / 0.7138 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6882, allocations: 0 / 0.7138 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009857/0.6892, allocations: 323.2 kB / 0.7141 GB, free: 8.059 MB / 0.5294 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 (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/0.6904, allocations: 0.5999 MB / 0.7147 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.6926, allocations: 0.9172 MB / 0.7155 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.6926, allocations: 7.938 kB / 0.7156 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.6939, allocations: 0.5783 MB / 0.7161 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.695, allocations: 237.8 kB / 0.7163 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.7, allocations: 2.351 MB / 0.7186 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/0.7009, allocations: 1.067 MB / 0.7197 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001209/0.7021, allocations: 278.8 kB / 0.72 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.7024, allocations: 111.4 kB / 0.7201 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of SimCode: time 1.011e-06/0.7024, allocations: 0 / 0.7201 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of Templates: time 0.02583/0.7282, allocations: 14.29 MB / 0.734 GB, free: 3.918 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)