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.001289/0.001289, allocations: 110.8 kB / 17.08 MB, free: 5.82 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.001222/0.001222, allocations: 196.7 kB / 18.02 MB, free: 4.965 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 115.3 MB / 407.2 MB, free: 6.234 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.92 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 76.18 MB / 0.6327 GB, free: 4.555 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007771/0.1576, allocations: 5.929 MB / 0.6385 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4815/0.6391, allocations: 150.8 MB / 0.7858 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.64, allocations: 20.97 kB / 0.7858 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.6408, allocations: 239.2 kB / 0.7861 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.6426, allocations: 0.6213 MB / 0.7867 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.6445, allocations: 0.8737 MB / 0.7875 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.6462, allocations: 1.654 MB / 0.7891 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.6473, allocations: 0.8658 MB / 0.79 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.6483, allocations: 0.613 MB / 0.7906 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008324/0.6492, allocations: 0.6561 MB / 0.7912 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.6494, allocations: 154.6 kB / 0.7914 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.6505, allocations: 0.5158 MB / 0.7919 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.6508, allocations: 378.9 kB / 0.7922 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.6514, allocations: 0.7322 MB / 0.7929 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.6533, allocations: 2.034 MB / 0.7949 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6533, allocations: 0 / 0.7949 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6533, allocations: 0 / 0.7949 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.47e-05/0.6534, allocations: 4 kB / 0.7949 GB, free: 12.61 MB / 0.5919 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.00276/0.6561, allocations: 1.714 MB / 0.7966 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.6562, allocations: 9.906 kB / 0.7966 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009257/0.6571, allocations: 223.1 kB / 0.7968 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.6583, allocations: 0.8651 MB / 0.7977 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.6584, allocations: 90 kB / 0.7978 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.6585, allocations: 115.4 kB / 0.7979 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.6604, allocations: 1.205 MB / 0.799 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.6604, allocations: 3.812 kB / 0.799 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.506e-05/0.6605, allocations: 49.33 kB / 0.7991 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.6605, allocations: 34.52 kB / 0.7991 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.6624, allocations: 1.292 MB / 0.8004 GB, free: 11.02 MB / 0.5919 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.004738/0.6671, allocations: 3.529 MB / 0.8038 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.6686, allocations: 0.8636 MB / 0.8047 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.6691, allocations: 326.9 kB / 0.805 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.6692, allocations: 30.62 kB / 0.805 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/0.67, allocations: 0.5275 MB / 0.8055 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 3.005e-06/0.67, allocations: 0 / 0.8055 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003122/0.6732, allocations: 1.279 MB / 0.8068 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.6733, allocations: 195.8 kB / 0.807 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.6742, allocations: 0.7361 MB / 0.8077 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/0.6743, allocations: 40.52 kB / 0.8077 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.6747, allocations: 0.5138 MB / 0.8082 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.6749, allocations: 292.7 kB / 0.8085 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.6752, allocations: 172.8 kB / 0.8087 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6753, allocations: 338.9 kB / 0.809 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.6759, allocations: 293.7 kB / 0.8093 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/0.6765, allocations: 393.2 kB / 0.8097 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.6777, allocations: 0.6555 MB / 0.8103 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6777, allocations: 0 / 0.8103 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002004/0.6797, allocations: 0.9304 MB / 0.8112 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6797, allocations: 7.094 kB / 0.8112 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6797, allocations: 3.562 kB / 0.8112 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.6803, allocations: 87.89 kB / 0.8113 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.681, allocations: 180.5 kB / 0.8115 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.683, allocations: 1.622 MB / 0.8131 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.6839, allocations: 99.44 kB / 0.8131 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.6839, allocations: 37.23 kB / 0.8132 GB, free: 4.086 MB / 0.5919 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.0005635/0.6845, allocations: 308.8 kB / 0.8135 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.6847, allocations: 92.12 kB / 0.8136 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.6871, allocations: 1.124 MB / 0.8147 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.6871, allocations: 10.06 kB / 0.8147 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6871, allocations: 3.938 kB / 0.8147 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6871, allocations: 3.984 kB / 0.8147 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.6884, allocations: 1.052 MB / 0.8157 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6884, allocations: 3.75 kB / 0.8157 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.689, allocations: 154.4 kB / 0.8159 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.6895, allocations: 73.78 kB / 0.8159 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.6896, allocations: 26.23 kB / 0.816 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.6915, allocations: 1.661 MB / 0.8176 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6915, allocations: 0 / 0.8176 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.6936, allocations: 0.9895 MB / 0.8185 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.694, allocations: 281.3 kB / 0.8188 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.6942, allocations: 26.08 kB / 0.8188 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.6948, allocations: 64.25 kB / 0.8189 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.6949, allocations: 79.83 kB / 0.819 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.695, allocations: 34.67 kB / 0.819 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006599/0.6957, allocations: 0.5159 MB / 0.8195 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6957, allocations: 0 / 0.8195 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009518/0.6967, allocations: 385 kB / 0.8199 GB, free: 15.41 MB / 0.6075 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.001368/0.698, allocations: 0.6102 MB / 0.8205 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.6998, allocations: 0.8852 MB / 0.8213 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.6998, allocations: 6.125 kB / 0.8213 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.7008, allocations: 0.552 MB / 0.8219 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7021, allocations: 323.8 kB / 0.8222 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.7058, allocations: 2.009 MB / 0.8242 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/0.7066, allocations: 1.106 MB / 0.8252 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.7071, allocations: 124.8 kB / 0.8253 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/0.7071, allocations: 0 / 0.8253 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.0304/0.7375, allocations: 21.79 MB / 0.8466 GB, free: 8.469 MB / 0.6231 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)