Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001257/0.001257, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 122.9 MB / 414.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 0.4917 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3873, allocations: 77.92 MB / 0.5678 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007101/0.3945, allocations: 5.946 MB / 0.5736 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.171/0.5655, allocations: 150.8 MB / 0.7209 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.5674, allocations: 19.88 kB / 0.721 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.5687, allocations: 241.7 kB / 0.7212 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.5719, allocations: 0.6189 MB / 0.7218 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.5747, allocations: 0.871 MB / 0.7226 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002784/0.5775, allocations: 1.638 MB / 0.7242 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.5792, allocations: 0.8696 MB / 0.7251 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.5803, allocations: 0.6073 MB / 0.7257 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5814, allocations: 0.6573 MB / 0.7263 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.5819, allocations: 156 kB / 0.7265 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.5833, allocations: 0.4918 MB / 0.727 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.5838, allocations: 366.8 kB / 0.7273 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.5849, allocations: 0.7385 MB / 0.728 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.5883, allocations: 1.982 MB / 0.73 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5884, allocations: 4 kB / 0.73 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5884, allocations: 0 / 0.73 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.869e-05/0.5885, allocations: 4 kB / 0.73 GB, free: 4.219 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004464/0.5929, allocations: 1.717 MB / 0.7316 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.593, allocations: 8.625 kB / 0.7317 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.5942, allocations: 219.1 kB / 0.7319 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.5957, allocations: 0.8482 MB / 0.7327 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.238e-05/0.5958, allocations: 86.41 kB / 0.7328 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.596, allocations: 116 kB / 0.7329 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.5984, allocations: 1.202 MB / 0.7341 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.5985, allocations: 0 / 0.7341 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.5986, allocations: 52 kB / 0.7341 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.5986, allocations: 28 kB / 0.7341 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.6009, allocations: 1.285 MB / 0.7354 GB, free: 14.5 MB / 0.5762 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.006166/0.6071, allocations: 3.589 MB / 0.7389 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.6088, allocations: 0.868 MB / 0.7397 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.6094, allocations: 322.7 kB / 0.74 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.797e-05/0.6095, allocations: 32.61 kB / 0.7401 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.6106, allocations: 0.5236 MB / 0.7406 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 3.025e-06/0.6106, allocations: 0 / 0.7406 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003545/0.6141, allocations: 1.278 MB / 0.7418 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.6143, allocations: 200.9 kB / 0.742 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.6155, allocations: 0.7352 MB / 0.7427 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.6156, allocations: 45.7 kB / 0.7428 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.6161, allocations: 0.5114 MB / 0.7433 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.6164, allocations: 283.9 kB / 0.7436 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.6168, allocations: 178.5 kB / 0.7437 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.6169, allocations: 334 kB / 0.7441 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/0.6175, allocations: 293.8 kB / 0.7443 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.6182, allocations: 391.1 kB / 0.7447 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.6195, allocations: 0.6555 MB / 0.7453 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6195, allocations: 4 kB / 0.7453 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002194/0.6217, allocations: 0.9228 MB / 0.7462 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6218, allocations: 6.031 kB / 0.7463 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.6218, allocations: 3.938 kB / 0.7463 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.6224, allocations: 88.86 kB / 0.7463 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007339/0.6232, allocations: 175.8 kB / 0.7465 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.6253, allocations: 1.632 MB / 0.7481 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.6263, allocations: 107.2 kB / 0.7482 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.6264, allocations: 40.08 kB / 0.7482 GB, free: 0.8398 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 (104): * Single equations (assignments): 103 * 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.0006395/0.627, allocations: 299.3 kB / 0.7485 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.6273, allocations: 94.78 kB / 0.7486 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3036/0.9309, allocations: 1.121 MB / 0.7497 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.931, allocations: 15.77 kB / 0.7497 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.931, allocations: 0.6562 kB / 0.7497 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.931, allocations: 5.016 kB / 0.7497 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.9329, allocations: 1.049 MB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.9329, allocations: 2.172 kB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.9336, allocations: 153.6 kB / 0.7509 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.9341, allocations: 72.5 kB / 0.751 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.9342, allocations: 31.78 kB / 0.751 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.9362, allocations: 1.666 MB / 0.7526 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9362, allocations: 1.781 kB / 0.7526 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.9388, allocations: 0.9854 MB / 0.7536 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.9392, allocations: 291.4 kB / 0.7539 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.9394, allocations: 19.41 kB / 0.7539 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.94, allocations: 67.17 kB / 0.754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.9402, allocations: 70.19 kB / 0.754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.9403, allocations: 38.72 kB / 0.7541 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008834/0.9412, allocations: 0.5119 MB / 0.7546 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9412, allocations: 0 / 0.7546 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001275/0.9425, allocations: 395.2 kB / 0.7549 GB, free: 168.1 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001553/0.9441, allocations: 0.6 MB / 0.7555 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.9471, allocations: 1.106 MB / 0.7566 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.9471, allocations: 1.719 kB / 0.7566 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.9482, allocations: 0.5439 MB / 0.7571 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.9497, allocations: 338.2 kB / 0.7575 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.9534, allocations: 2.033 MB / 0.7594 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.9542, allocations: 1.104 MB / 0.7605 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.9546, allocations: 128.1 kB / 0.7606 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.9546, allocations: 0 / 0.7606 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03454/0.9892, allocations: 21.78 MB / 0.7819 GB, free: 153.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)