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.00131/0.00131, allocations: 104.2 kB / 16.4 MB, free: 6.469 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.00143/0.00143, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7402/0.7402, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.02 kB / 0.5685 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1709, allocations: 77.95 MB / 0.6446 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007221/0.1782, allocations: 5.941 MB / 0.6504 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6036/0.7818, allocations: 150.8 MB / 0.7977 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.7835, allocations: 24 kB / 0.7977 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.7848, allocations: 234.5 kB / 0.7979 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.7884, allocations: 0.623 MB / 0.7985 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.7921, allocations: 0.868 MB / 0.7994 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.7948, allocations: 1.66 MB / 0.801 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.7966, allocations: 0.8659 MB / 0.8018 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.7978, allocations: 0.6104 MB / 0.8024 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.7989, allocations: 0.656 MB / 0.8031 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.7992, allocations: 154 kB / 0.8032 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.8007, allocations: 0.5195 MB / 0.8037 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.8011, allocations: 376.2 kB / 0.8041 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009633/0.8021, allocations: 0.7376 MB / 0.8048 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.8054, allocations: 2.035 MB / 0.8068 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8054, allocations: 0 / 0.8068 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.716e-06/0.8054, allocations: 0 / 0.8068 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.8055, allocations: 3.938 kB / 0.8068 GB, free: 11.25 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.004787/0.8103, allocations: 1.757 MB / 0.8085 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.8103, allocations: 8.688 kB / 0.8085 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.812, allocations: 226.6 kB / 0.8087 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.8142, allocations: 0.8788 MB / 0.8096 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.8143, allocations: 90.12 kB / 0.8097 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.8146, allocations: 119.5 kB / 0.8098 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/0.818, allocations: 1.211 MB / 0.811 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/0.8181, allocations: 4 kB / 0.811 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.8182, allocations: 49.91 kB / 0.811 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.8183, allocations: 27.75 kB / 0.8111 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.8213, allocations: 1.28 MB / 0.8123 GB, free: 8.934 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.008996/0.8303, allocations: 3.56 MB / 0.8158 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.8331, allocations: 0.8669 MB / 0.8166 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009859/0.8341, allocations: 323.9 kB / 0.8169 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.8342, allocations: 30.64 kB / 0.817 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.8358, allocations: 0.5163 MB / 0.8175 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 6.552e-06/0.8358, allocations: 4 kB / 0.8175 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.005756/0.8416, allocations: 1.286 MB / 0.8187 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.8418, allocations: 190.7 kB / 0.8189 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.8435, allocations: 0.7386 MB / 0.8196 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.8436, allocations: 47.36 kB / 0.8197 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.8443, allocations: 0.5204 MB / 0.8202 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.8447, allocations: 300.7 kB / 0.8205 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004268/0.8452, allocations: 179.5 kB / 0.8207 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.8454, allocations: 341.3 kB / 0.821 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008651/0.8463, allocations: 291.7 kB / 0.8213 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.8475, allocations: 393.2 kB / 0.8216 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.8496, allocations: 0.6561 MB / 0.8223 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8496, allocations: 0 / 0.8223 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003231/0.8529, allocations: 0.9306 MB / 0.8232 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.8529, allocations: 7.969 kB / 0.8232 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8529, allocations: 0 / 0.8232 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/0.8537, allocations: 91.64 kB / 0.8233 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.8548, allocations: 170.7 kB / 0.8234 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.8574, allocations: 1.631 MB / 0.825 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/0.8583, allocations: 106.3 kB / 0.8251 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/0.8584, allocations: 41.12 kB / 0.8252 GB, free: 84 kB / 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.0006732/0.8591, allocations: 298.2 kB / 0.8255 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.8593, allocations: 100.7 kB / 0.8256 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.8617, allocations: 1.12 MB / 0.8266 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.8617, allocations: 7.75 kB / 0.8267 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8617, allocations: 6.5 kB / 0.8267 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8618, allocations: 3.984 kB / 0.8267 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.8631, allocations: 1.056 MB / 0.8277 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.8631, allocations: 0 / 0.8277 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.8637, allocations: 164.4 kB / 0.8279 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.8641, allocations: 71.84 kB / 0.8279 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.8642, allocations: 25.95 kB / 0.8279 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.866, allocations: 1.65 MB / 0.8296 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8661, allocations: 0 / 0.8296 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.868, allocations: 0.9995 MB / 0.8305 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.8685, allocations: 292.2 kB / 0.8308 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.8687, allocations: 22.44 kB / 0.8308 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/0.8694, allocations: 64.44 kB / 0.8309 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.8695, allocations: 73.02 kB / 0.831 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.8696, allocations: 45.31 kB / 0.831 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006384/0.8703, allocations: 0.5119 MB / 0.8315 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8703, allocations: 0 / 0.8315 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009413/0.8712, allocations: 388.2 kB / 0.8319 GB, free: 11.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.001406/0.8726, allocations: 0.6196 MB / 0.8325 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.8744, allocations: 0.8893 MB / 0.8334 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.8744, allocations: 0 / 0.8334 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009493/0.8754, allocations: 0.5493 MB / 0.8339 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.8769, allocations: 332.4 kB / 0.8342 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.8803, allocations: 1.99 MB / 0.8361 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.881, allocations: 1.113 MB / 0.8372 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009482/0.882, allocations: 292.2 kB / 0.8375 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.8823, allocations: 115.3 kB / 0.8376 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.8823, allocations: 0 / 0.8376 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.02822/0.9105, allocations: 16.55 MB / 0.8538 GB, free: 7.379 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)