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.006226/0.006226, allocations: 99.03 kB / 15.73 MB, free: 6.039 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.001174/0.001174, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9191/0.9191, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 95.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1518, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005852/0.1577, allocations: 4.416 MB / 0.7707 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4826/0.6403, allocations: 150.6 MB / 0.9178 GB, free: 7.543 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000691/0.6411, allocations: 15.94 kB / 0.9178 GB, free: 7.527 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.6416, allocations: 176.2 kB / 0.918 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.6433, allocations: 0.5019 MB / 0.9185 GB, free: 6.871 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.6453, allocations: 0.858 MB / 0.9193 GB, free: 6.043 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.6467, allocations: 1.332 MB / 0.9206 GB, free: 4.703 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.6476, allocations: 0.6979 MB / 0.9213 GB, free: 3.988 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005814/0.6482, allocations: 0.506 MB / 0.9218 GB, free: 3.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.6488, allocations: 0.525 MB / 0.9223 GB, free: 2.953 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.649, allocations: 128 kB / 0.9224 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009866/0.65, allocations: 0.5079 MB / 0.9229 GB, free: 2.324 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.6502, allocations: 315 kB / 0.9232 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.6507, allocations: 0.5829 MB / 0.9238 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.6524, allocations: 1.708 MB / 0.9254 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6524, allocations: 4 kB / 0.9254 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6524, allocations: 4 kB / 0.9255 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6524, allocations: 0 / 0.9255 GB, free: 15.71 MB / 0.6856 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.002374/0.6548, allocations: 1.485 MB / 0.9269 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6549, allocations: 12.03 kB / 0.9269 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.6559, allocations: 215.2 kB / 0.9271 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.6571, allocations: 0.7853 MB / 0.9279 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.6572, allocations: 74 kB / 0.928 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6573, allocations: 88 kB / 0.928 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.659, allocations: 1.012 MB / 0.929 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.659, allocations: 0 / 0.929 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.6591, allocations: 51.73 kB / 0.9291 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.6591, allocations: 24 kB / 0.9291 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.661, allocations: 1.175 MB / 0.9302 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.665, allocations: 2.663 MB / 0.9328 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.6667, allocations: 0.9114 MB / 0.9337 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.6673, allocations: 316.2 kB / 0.934 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006821/0.668, allocations: 470.1 kB / 0.9345 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.6689, allocations: 0.5041 MB / 0.935 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/0.6689, allocations: 4 kB / 0.935 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003238/0.6722, allocations: 1.217 MB / 0.9362 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.6723, allocations: 192.5 kB / 0.9364 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007888/0.6731, allocations: 0.6527 MB / 0.937 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.6732, allocations: 41.7 kB / 0.937 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.6735, allocations: 420.3 kB / 0.9374 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.6737, allocations: 268 kB / 0.9377 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.674, allocations: 170.5 kB / 0.9379 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6742, allocations: 382.8 kB / 0.9382 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.6747, allocations: 277.8 kB / 0.9385 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.6754, allocations: 375.1 kB / 0.9388 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6766, allocations: 0.619 MB / 0.9394 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6766, allocations: 4 kB / 0.9394 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001991/0.6786, allocations: 0.8722 MB / 0.9403 GB, free: 28 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6786, allocations: 7.938 kB / 0.9403 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6786, allocations: 0 / 0.9403 GB, free: 20 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/0.6792, allocations: 76.95 kB / 0.9404 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.6799, allocations: 171.8 kB / 0.9405 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.6819, allocations: 1.635 MB / 0.9421 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.6826, allocations: 93.73 kB / 0.9422 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.6827, allocations: 43.91 kB / 0.9423 GB, free: 13.86 MB / 0.7012 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.0003834/0.6831, allocations: 271.4 kB / 0.9425 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.6832, allocations: 84.47 kB / 0.9426 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.6857, allocations: 1.092 MB / 0.9437 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6857, allocations: 15.92 kB / 0.9437 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6858, allocations: 0 / 0.9437 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.6858, allocations: 7.984 kB / 0.9437 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.6891, allocations: 2.003 MB / 0.9457 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.6891, allocations: 4 kB / 0.9457 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.6897, allocations: 147.8 kB / 0.9458 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.6902, allocations: 85.52 kB / 0.9459 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.6902, allocations: 27.98 kB / 0.9459 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.692, allocations: 1.655 MB / 0.9475 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.692, allocations: 8.062 kB / 0.9475 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.694, allocations: 1.017 MB / 0.9485 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.6944, allocations: 275.7 kB / 0.9488 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6945, allocations: 20 kB / 0.9488 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.6952, allocations: 67.92 kB / 0.9489 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6953, allocations: 68.56 kB / 0.9489 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.6954, allocations: 39.97 kB / 0.949 GB, free: 6.742 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005141/0.6959, allocations: 467 kB / 0.9494 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6959, allocations: 0 / 0.9494 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008132/0.6968, allocations: 347 kB / 0.9498 GB, free: 5.949 MB / 0.7012 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.001293/0.6981, allocations: 0.6149 MB / 0.9504 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.6997, allocations: 0.8519 MB / 0.9512 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6997, allocations: 0 / 0.9512 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.7007, allocations: 0.5314 MB / 0.9517 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.7019, allocations: 302.2 kB / 0.952 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.7055, allocations: 1.822 MB / 0.9538 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.7061, allocations: 1.047 MB / 0.9548 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007193/0.7068, allocations: 274.6 kB / 0.9551 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.7071, allocations: 107.4 kB / 0.9552 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.7071, allocations: 0 / 0.9552 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of Templates: time 0.0235/0.7306, allocations: 15.7 MB / 0.9705 GB, free: 1.035 MB / 0.7169 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)