Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 95.88 kB / 15.68 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.001002/0.001002, allocations: 174.2 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.294/1.294, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6503/0.6503, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 77.14 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.007485/0.1485, allocations: 6.431 MB / 0.5631 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.417/0.5656, allocations: 129.1 MB / 0.6892 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.5668, allocations: 31.81 kB / 0.6892 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.5673, allocations: 146.5 kB / 0.6894 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.5694, allocations: 0.7986 MB / 0.6902 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.5718, allocations: 1.066 MB / 0.6912 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002752/0.5746, allocations: 1.909 MB / 0.6931 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.5769, allocations: 2.033 MB / 0.695 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.5785, allocations: 0.9721 MB / 0.696 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.5801, allocations: 1.096 MB / 0.6971 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.5804, allocations: 76 kB / 0.6971 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009939/0.5814, allocations: 379.6 kB / 0.6975 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.5818, allocations: 485.7 kB / 0.698 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.5824, allocations: 0.5703 MB / 0.6985 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.5863, allocations: 4.244 MB / 0.7027 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5863, allocations: 4 kB / 0.7027 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5863, allocations: 4 kB / 0.7027 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000111/0.5864, allocations: 0 / 0.7027 GB, free: 4.172 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: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.006987/0.5934, allocations: 2.995 MB / 0.7056 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5935, allocations: 12.02 kB / 0.7056 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.6095, allocations: 2.399 MB / 0.708 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.6129, allocations: 1.695 MB / 0.7096 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.6132, allocations: 262.8 kB / 0.7099 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008315/0.614, allocations: 331.9 kB / 0.7102 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.6256, allocations: 4.473 MB / 0.7145 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.6257, allocations: 4 kB / 0.7145 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/0.6261, allocations: 136 kB / 0.7147 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.6261, allocations: 84 kB / 0.7148 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.6409, allocations: 5.268 MB / 0.7199 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02154/0.6625, allocations: 10.93 MB / 0.7306 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009727/0.6722, allocations: 3.384 MB / 0.7339 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008232/0.6731, allocations: 0.5152 MB / 0.7344 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006052/0.6791, allocations: 2.148 MB / 0.7365 GB, free: 1.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=249): time 4.649e-06/0.6792, allocations: 0 / 0.7365 GB, free: 1.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=249): time 0.01693/0.6961, allocations: 5.209 MB / 0.7416 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.6963, allocations: 213.9 kB / 0.7418 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.6981, allocations: 1.28 MB / 0.743 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005386/0.6987, allocations: 73.7 kB / 0.7431 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.6998, allocations: 1.133 MB / 0.7442 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.7009, allocations: 0.7893 MB / 0.745 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.7011, allocations: 48 kB / 0.745 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002637/0.7014, allocations: 390.2 kB / 0.7454 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/0.7061, allocations: 1.457 MB / 0.7468 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/0.7111, allocations: 1.669 MB / 0.7484 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.7162, allocations: 1.503 MB / 0.7499 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.7163, allocations: 224 / 0.7499 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01307/0.7293, allocations: 3.611 MB / 0.7534 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.7294, allocations: 7.938 kB / 0.7534 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.7294, allocations: 4 kB / 0.7534 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.7301, allocations: 88.83 kB / 0.7535 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004402/0.7345, allocations: 0.6786 MB / 0.7542 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.7366, allocations: 1.536 MB / 0.7557 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.7405, allocations: 429.5 kB / 0.7561 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006027/0.7411, allocations: 111.9 kB / 0.7562 GB, free: 12.54 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: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$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.HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 275 * 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.001869/0.743, allocations: 0.6031 MB / 0.7568 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/0.7436, allocations: 197.5 kB / 0.757 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.7579, allocations: 4.402 MB / 0.7613 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.758, allocations: 28 kB / 0.7613 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.758, allocations: 0 / 0.7613 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/0.7581, allocations: 15.94 kB / 0.7613 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.7632, allocations: 3.441 MB / 0.7647 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/0.7633, allocations: 4 kB / 0.7647 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004151/0.7674, allocations: 0.6241 MB / 0.7653 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/0.768, allocations: 88.77 kB / 0.7654 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006571/0.7687, allocations: 87.84 kB / 0.7655 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.7706, allocations: 1.564 MB / 0.767 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7706, allocations: 0 / 0.767 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.7831, allocations: 3.766 MB / 0.7707 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/0.7851, allocations: 0.7434 MB / 0.7714 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009395/0.7861, allocations: 51.98 kB / 0.7714 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/0.7899, allocations: 316.5 kB / 0.7717 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/0.7906, allocations: 181.9 kB / 0.7719 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004539/0.791, allocations: 111.9 kB / 0.772 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00191/0.793, allocations: 0.9522 MB / 0.773 GB, free: 11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.793, allocations: 0 / 0.773 GB, free: 11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002929/0.7959, allocations: 0.825 MB / 0.7738 GB, free: 10.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of discrete states: 11 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001697/0.7976, allocations: 0.68 MB / 0.7744 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.8084, allocations: 3.638 MB / 0.778 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8085, allocations: 0 / 0.778 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00566/0.8141, allocations: 2.014 MB / 0.7799 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.816, allocations: 320.1 kB / 0.7803 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.83, allocations: 6.806 MB / 0.7869 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.8316, allocations: 1.775 MB / 0.7886 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005218/0.8369, allocations: 0.6451 MB / 0.7893 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/0.8387, allocations: 279.2 kB / 0.7895 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.195e-06/0.8387, allocations: 0 / 0.7895 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.05797/0.8967, allocations: 33.92 MB / 0.8226 GB, free: 8.355 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)