Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008684/0.0008685, allocations: 91.19 kB / 16.67 MB, free: 6.586 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.0009622/0.0009622, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.377/1.377, allocations: 223.3 MB / 241.6 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.728/0.728, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3795, allocations: 77.52 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005341/0.3849, allocations: 4.414 MB / 0.5649 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.5469, allocations: 146.7 MB / 0.7082 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.5479, allocations: 19.88 kB / 0.7082 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008182/0.5488, allocations: 146.9 kB / 0.7083 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.551, allocations: 469.7 kB / 0.7088 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.5533, allocations: 0.7153 MB / 0.7095 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.5553, allocations: 1.284 MB / 0.7107 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.5564, allocations: 0.5478 MB / 0.7112 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.5571, allocations: 346.3 kB / 0.7116 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.5579, allocations: 385.9 kB / 0.7119 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.5581, allocations: 24 kB / 0.712 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.5591, allocations: 371.6 kB / 0.7123 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.5595, allocations: 187.1 kB / 0.7125 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.5601, allocations: 466.9 kB / 0.7129 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.5618, allocations: 1.173 MB / 0.7141 GB, free: 5.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5618, allocations: 4 kB / 0.7141 GB, free: 5.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5618, allocations: 0 / 0.7141 GB, free: 5.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.448e-05/0.5618, allocations: 0 / 0.7141 GB, free: 5.68 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002705/0.5646, allocations: 1.212 MB / 0.7153 GB, free: 4.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5646, allocations: 12.03 kB / 0.7153 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009772/0.5656, allocations: 199.4 kB / 0.7155 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5667, allocations: 0.7421 MB / 0.7162 GB, free: 3.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.5668, allocations: 62 kB / 0.7163 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.5669, allocations: 80 kB / 0.7163 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.5685, allocations: 0.9191 MB / 0.7172 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5685, allocations: 0 / 0.7172 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.5686, allocations: 32 kB / 0.7173 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5686, allocations: 23.94 kB / 0.7173 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.5704, allocations: 1.12 MB / 0.7184 GB, free: 1.156 MB / 0.545 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.004326/0.5747, allocations: 2.727 MB / 0.721 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.5763, allocations: 0.8058 MB / 0.7218 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.5768, allocations: 306.6 kB / 0.7221 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.5769, allocations: 28.67 kB / 0.7222 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008782/0.5778, allocations: 495.2 kB / 0.7226 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 4.929e-06/0.5778, allocations: 0 / 0.7226 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.003301/0.5811, allocations: 1.221 MB / 0.7238 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5813, allocations: 188.6 kB / 0.724 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.5823, allocations: 0.6331 MB / 0.7246 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.227e-05/0.5824, allocations: 41.7 kB / 0.7247 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.5827, allocations: 396.3 kB / 0.725 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.583, allocations: 256.3 kB / 0.7253 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.5831, allocations: 69.67 kB / 0.7253 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5833, allocations: 394.7 kB / 0.7257 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.5838, allocations: 269.9 kB / 0.726 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006742/0.5845, allocations: 371.1 kB / 0.7263 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5857, allocations: 0.6112 MB / 0.7269 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5857, allocations: 4 kB / 0.7269 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002095/0.5878, allocations: 0.8605 MB / 0.7278 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.5879, allocations: 8 kB / 0.7278 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.5879, allocations: 3.984 kB / 0.7278 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.5885, allocations: 80.84 kB / 0.7279 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.5892, allocations: 171.6 kB / 0.728 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.5914, allocations: 1.524 MB / 0.7295 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.5923, allocations: 104.2 kB / 0.7296 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/0.5924, allocations: 35.98 kB / 0.7297 GB, free: 5.188 MB / 0.5606 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 (95): * Single equations (assignments): 94 * 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.0005151/0.5929, allocations: 259.4 kB / 0.7299 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.5931, allocations: 90.91 kB / 0.73 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.5957, allocations: 1.066 MB / 0.731 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.5957, allocations: 15.94 kB / 0.731 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5957, allocations: 0 / 0.731 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5957, allocations: 7.984 kB / 0.731 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.597, allocations: 0.8878 MB / 0.7319 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.597, allocations: 0 / 0.7319 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.5976, allocations: 147.8 kB / 0.7321 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005586/0.5982, allocations: 92.7 kB / 0.7321 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.5983, allocations: 27.97 kB / 0.7322 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.6002, allocations: 1.544 MB / 0.7337 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6003, allocations: 3.938 kB / 0.7337 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.6024, allocations: 0.928 MB / 0.7346 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.6029, allocations: 283.6 kB / 0.7349 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.6031, allocations: 23.98 kB / 0.7349 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.6039, allocations: 84.59 kB / 0.735 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.6041, allocations: 68.89 kB / 0.735 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.6042, allocations: 31.98 kB / 0.7351 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007217/0.6049, allocations: 455 kB / 0.7355 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6049, allocations: 0 / 0.7355 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001021/0.6059, allocations: 323.2 kB / 0.7358 GB, free: 14.62 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: 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 (91): * Single equations (assignments): 85 * 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.001591/0.6075, allocations: 0.6071 MB / 0.7364 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.6095, allocations: 0.8392 MB / 0.7372 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6095, allocations: 0 / 0.7372 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009919/0.6105, allocations: 0.5119 MB / 0.7377 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.612, allocations: 296.9 kB / 0.738 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.6158, allocations: 2.122 MB / 0.7401 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.6166, allocations: 1.016 MB / 0.7411 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.617, allocations: 115.4 kB / 0.7412 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.6171, allocations: 0 / 0.7412 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.3015/0.9185, allocations: 18.23 MB / 0.759 GB, free: 171.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)