Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001162, allocations: 97.12 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.001032/0.001031, allocations: 174.9 kB / 16.57 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.298/1.298, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7013/0.7013, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2246, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01061/0.2353, allocations: 5.414 MB / 0.5621 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5391/0.7744, allocations: 128.6 MB / 0.6877 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.7755, allocations: 23.88 kB / 0.6877 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.7759, allocations: 122.8 kB / 0.6878 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.7778, allocations: 0.6637 MB / 0.6885 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.78, allocations: 0.9758 MB / 0.6894 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.7823, allocations: 1.511 MB / 0.6909 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.7838, allocations: 1.199 MB / 0.6921 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.7849, allocations: 0.7702 MB / 0.6928 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009441/0.7859, allocations: 0.8474 MB / 0.6936 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.786, allocations: 64 kB / 0.6937 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009458/0.787, allocations: 375.6 kB / 0.6941 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003581/0.7874, allocations: 378.3 kB / 0.6944 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.7877, allocations: 388.5 kB / 0.6948 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.7906, allocations: 2.595 MB / 0.6973 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.7906, allocations: 0 / 0.6973 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7906, allocations: 0 / 0.6973 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.139e-05/0.7907, allocations: 4 kB / 0.6973 GB, free: 9.75 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005937/0.7967, allocations: 2.303 MB / 0.6996 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7967, allocations: 12.02 kB / 0.6996 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.8119, allocations: 2.291 MB / 0.7018 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.8147, allocations: 1.231 MB / 0.703 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.8149, allocations: 169.2 kB / 0.7032 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.8154, allocations: 220 kB / 0.7034 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008512/0.8239, allocations: 3.317 MB / 0.7066 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.824, allocations: 0 / 0.7066 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.8243, allocations: 95.98 kB / 0.7067 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.8243, allocations: 56 kB / 0.7068 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.8368, allocations: 4.326 MB / 0.711 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.8546, allocations: 7.362 MB / 0.7182 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009753/0.8644, allocations: 2.899 MB / 0.721 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008003/0.8653, allocations: 0.5074 MB / 0.7215 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005481/0.8707, allocations: 1.844 MB / 0.7233 GB, free: 14.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=213): time 3.948e-06/0.8708, allocations: 0 / 0.7233 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=213): time 0.01478/0.8856, allocations: 4.483 MB / 0.7277 GB, free: 10.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.8857, allocations: 209.9 kB / 0.7279 GB, free: 9.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.8872, allocations: 0.9334 MB / 0.7288 GB, free: 8.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/0.8875, allocations: 65.69 kB / 0.7289 GB, free: 8.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.8882, allocations: 0.7426 MB / 0.7296 GB, free: 8.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006952/0.8889, allocations: 0.6814 MB / 0.7303 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.889, allocations: 36 kB / 0.7303 GB, free: 7.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8892, allocations: 377.9 kB / 0.7307 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/0.8932, allocations: 1.237 MB / 0.7319 GB, free: 5.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.8975, allocations: 1.433 MB / 0.7333 GB, free: 4.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.9016, allocations: 1.271 MB / 0.7345 GB, free: 3.066 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.9016, allocations: 4 kB / 0.7345 GB, free: 3.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009841/0.9115, allocations: 3.081 MB / 0.7375 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.9116, allocations: 11.94 kB / 0.7375 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.9116, allocations: 0 / 0.7375 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/0.9122, allocations: 92.83 kB / 0.7376 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/0.9161, allocations: 0.589 MB / 0.7382 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.9182, allocations: 1.536 MB / 0.7397 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.9217, allocations: 385.9 kB / 0.7401 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.9221, allocations: 95.89 kB / 0.7402 GB, free: 13.13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$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,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001053/0.9232, allocations: 435.6 kB / 0.7406 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.9236, allocations: 166.1 kB / 0.7407 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.935, allocations: 3.74 MB / 0.7444 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.9351, allocations: 31.97 kB / 0.7444 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9351, allocations: 0 / 0.7444 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.9351, allocations: 7.969 kB / 0.7444 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.9385, allocations: 2.456 MB / 0.7468 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.9386, allocations: 0 / 0.7468 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/0.942, allocations: 0.5617 MB / 0.7474 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/0.9426, allocations: 100.7 kB / 0.7475 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/0.9429, allocations: 71.91 kB / 0.7475 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.9448, allocations: 1.567 MB / 0.7491 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9448, allocations: 0 / 0.7491 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009789/0.9546, allocations: 3.218 MB / 0.7522 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.9558, allocations: 0.5762 MB / 0.7528 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.9562, allocations: 44 kB / 0.7528 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/0.959, allocations: 292.5 kB / 0.7531 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.9593, allocations: 153.8 kB / 0.7532 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/0.9595, allocations: 99.91 kB / 0.7533 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00095/0.9605, allocations: 0.688 MB / 0.754 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/0.9605, allocations: 4 kB / 0.754 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001756/0.9623, allocations: 0.6349 MB / 0.7546 GB, free: 14.04 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001425/0.9637, allocations: 0.6531 MB / 0.7553 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.9738, allocations: 3.139 MB / 0.7583 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.9738, allocations: 4 kB / 0.7583 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005087/0.9789, allocations: 1.767 MB / 0.7601 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.9804, allocations: 293.9 kB / 0.7603 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/0.9903, allocations: 5.086 MB / 0.7653 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009296/0.9912, allocations: 1.465 MB / 0.7667 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003326/0.9946, allocations: 0.5792 MB / 0.7673 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/0.9955, allocations: 231.2 kB / 0.7675 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.9955, allocations: 0 / 0.7675 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of Templates: time 0.04414/1.04, allocations: 27.87 MB / 0.7947 GB, free: 5.25 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)