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.001447/0.001448, allocations: 102.3 kB / 16.27 MB, free: 5.977 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.001616/0.001616, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.793/0.793, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.05 kB / 0.4911 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4658, allocations: 77.93 MB / 0.5672 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009819/0.4757, allocations: 8.394 MB / 0.5754 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.19/0.6657, allocations: 151.8 MB / 0.7237 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.6691, allocations: 23.88 kB / 0.7237 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6706, allocations: 324.6 kB / 0.724 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.675, allocations: 0.8558 MB / 0.7248 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/0.679, allocations: 1.382 MB / 0.7262 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00461/0.6836, allocations: 2.974 MB / 0.7291 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.6861, allocations: 1.496 MB / 0.7306 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.6883, allocations: 1.188 MB / 0.7317 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.6908, allocations: 1.327 MB / 0.733 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007224/0.6915, allocations: 324 kB / 0.7333 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.6937, allocations: 0.6833 MB / 0.734 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007773/0.6945, allocations: 0.6932 MB / 0.7347 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.6966, allocations: 1.342 MB / 0.736 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.7022, allocations: 3.583 MB / 0.7395 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7022, allocations: 0 / 0.7395 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7022, allocations: 0 / 0.7395 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001047/0.7024, allocations: 0 / 0.7395 GB, free: 9.738 MB / 0.5762 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.007407/0.7098, allocations: 2.83 MB / 0.7422 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.7098, allocations: 8.625 kB / 0.7422 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.7253, allocations: 2.116 MB / 0.7443 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.7283, allocations: 1.263 MB / 0.7455 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.7285, allocations: 168.5 kB / 0.7457 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/0.7289, allocations: 224 kB / 0.7459 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3384/1.067, allocations: 3.271 MB / 0.7491 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/1.067, allocations: 1.438 kB / 0.7491 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/1.068, allocations: 93.86 kB / 0.7492 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-05/1.068, allocations: 57.97 kB / 0.7493 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/1.084, allocations: 4.196 MB / 0.7534 GB, free: 167.3 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.01894/1.103, allocations: 8.105 MB / 0.7613 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008919/1.112, allocations: 2.882 MB / 0.7641 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/1.116, allocations: 1.487 MB / 0.7655 GB, free: 161 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006583/1.117, allocations: 0.5049 MB / 0.766 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005551/1.122, allocations: 1.846 MB / 0.7678 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 4.919e-06/1.122, allocations: 1.094 kB / 0.7678 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01556/1.138, allocations: 4.47 MB / 0.7722 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/1.138, allocations: 203.2 kB / 0.7724 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.14, allocations: 0.9564 MB / 0.7733 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003394/1.14, allocations: 66.77 kB / 0.7734 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/1.141, allocations: 0.7422 MB / 0.7741 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/1.141, allocations: 0.6767 MB / 0.7748 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/1.142, allocations: 392.7 kB / 0.7752 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/1.142, allocations: 305.1 kB / 0.7754 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.146, allocations: 1.264 MB / 0.7767 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/1.15, allocations: 1.436 MB / 0.7781 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007876/1.158, allocations: 2.605 MB / 0.7806 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/1.158, allocations: 0 / 0.7806 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009373/1.168, allocations: 3.121 MB / 0.7837 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.168, allocations: 8 kB / 0.7837 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.168, allocations: 8 kB / 0.7837 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/1.168, allocations: 84.77 kB / 0.7838 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00354/1.172, allocations: 0.6106 MB / 0.7844 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.174, allocations: 1.637 MB / 0.786 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/1.177, allocations: 368.2 kB / 0.7863 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.177, allocations: 99.89 kB / 0.7864 GB, free: 146.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001265/1.179, allocations: 448.1 kB / 0.7868 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/1.179, allocations: 162.9 kB / 0.787 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.19, allocations: 3.701 MB / 0.7906 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.19, allocations: 31.92 kB / 0.7906 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.19, allocations: 0 / 0.7906 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/1.19, allocations: 7.969 kB / 0.7906 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/1.193, allocations: 2.456 MB / 0.793 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.193, allocations: 3.938 kB / 0.793 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003248/1.196, allocations: 0.5578 MB / 0.7936 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/1.196, allocations: 83.03 kB / 0.7937 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/1.197, allocations: 71.91 kB / 0.7937 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/1.198, allocations: 1.67 MB / 0.7954 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/1.198, allocations: 0 / 0.7954 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00931/1.207, allocations: 3.21 MB / 0.7985 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.209, allocations: 0.5451 MB / 0.799 GB, free: 133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/1.209, allocations: 51.84 kB / 0.7991 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.212, allocations: 268.5 kB / 0.7993 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/1.212, allocations: 153.7 kB / 0.7995 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.212, allocations: 99.91 kB / 0.7996 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007956/1.213, allocations: 0.7036 MB / 0.8003 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/1.213, allocations: 3.938 kB / 0.8003 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001747/1.215, allocations: 0.6687 MB / 0.8009 GB, free: 131 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 (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.00152/1.216, allocations: 0.6508 MB / 0.8016 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.229, allocations: 3.679 MB / 0.8052 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.229, allocations: 0 / 0.8052 GB, free: 127 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004654/1.234, allocations: 1.755 MB / 0.8069 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/1.236, allocations: 398.2 kB / 0.8073 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008263/1.244, allocations: 4.121 MB / 0.8113 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/1.245, allocations: 1.423 MB / 0.8127 GB, free: 119.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003389/1.248, allocations: 0.5795 MB / 0.8132 GB, free: 118.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000947/1.249, allocations: 243.2 kB / 0.8135 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/1.249, allocations: 0 / 0.8135 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04198/1.291, allocations: 31.43 MB / 0.8442 GB, free: 87.22 MB / 0.5762 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)