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.001017/0.001017, allocations: 102.7 kB / 16.4 MB, free: 6.504 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.0009842/0.0009843, allocations: 196 kB / 17.34 MB, free: 5.742 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7078/0.7078, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 65.94 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 76.19 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009011/0.1544, allocations: 8.391 MB / 0.6403 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4922/0.6466, allocations: 151.8 MB / 0.7885 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.6477, allocations: 22.94 kB / 0.7885 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007422/0.6485, allocations: 322.7 kB / 0.7889 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.6505, allocations: 0.8569 MB / 0.7897 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.6529, allocations: 1.379 MB / 0.791 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002972/0.6559, allocations: 3 MB / 0.794 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.6576, allocations: 1.49 MB / 0.7954 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.659, allocations: 1.201 MB / 0.7966 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.6603, allocations: 1.347 MB / 0.7979 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003411/0.6606, allocations: 326.1 kB / 0.7982 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6617, allocations: 0.7008 MB / 0.7989 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004274/0.6621, allocations: 0.6971 MB / 0.7996 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.663, allocations: 1.334 MB / 0.8009 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.6657, allocations: 3.66 MB / 0.8045 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6657, allocations: 3.938 kB / 0.8045 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6657, allocations: 0 / 0.8045 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.576e-05/0.6658, allocations: 0 / 0.8045 GB, free: 10.58 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005325/0.6711, allocations: 2.84 MB / 0.8072 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6711, allocations: 13.56 kB / 0.8073 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/0.6864, allocations: 2.104 MB / 0.8093 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/0.6889, allocations: 1.291 MB / 0.8106 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.689, allocations: 171.1 kB / 0.8107 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.6893, allocations: 217.4 kB / 0.8109 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008479/0.6978, allocations: 3.281 MB / 0.8141 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.6979, allocations: 0 / 0.8141 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.6982, allocations: 93.56 kB / 0.8142 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.6982, allocations: 54.84 kB / 0.8143 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.7102, allocations: 4.204 MB / 0.8184 GB, free: 2.82 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.01544/0.7257, allocations: 8.039 MB / 0.8262 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008445/0.7341, allocations: 2.883 MB / 0.8291 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/0.7383, allocations: 1.494 MB / 0.8305 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007306/0.7391, allocations: 0.5062 MB / 0.831 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004906/0.744, allocations: 1.852 MB / 0.8328 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 4.077e-06/0.744, allocations: 0 / 0.8328 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01499/0.759, allocations: 4.463 MB / 0.8372 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.7591, allocations: 209.8 kB / 0.8374 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.7608, allocations: 0.9487 MB / 0.8383 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.761, allocations: 65.7 kB / 0.8384 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.7617, allocations: 0.7349 MB / 0.8391 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/0.7623, allocations: 0.6877 MB / 0.8398 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/0.7632, allocations: 391.2 kB / 0.8401 GB, free: 108 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.7633, allocations: 302.4 kB / 0.8404 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004274/0.7676, allocations: 1.261 MB / 0.8417 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/0.7721, allocations: 1.434 MB / 0.8431 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008456/0.7805, allocations: 2.614 MB / 0.8456 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.7806, allocations: 0 / 0.8456 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01036/0.7909, allocations: 3.12 MB / 0.8486 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.791, allocations: 8 kB / 0.8487 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.791, allocations: 0 / 0.8487 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.7917, allocations: 92.94 kB / 0.8487 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/0.7954, allocations: 0.6014 MB / 0.8493 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.7976, allocations: 1.645 MB / 0.8509 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.8011, allocations: 371.6 kB / 0.8513 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003387/0.8015, allocations: 103.9 kB / 0.8514 GB, free: 4.371 MB / 0.6231 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.001331/0.8028, allocations: 432.1 kB / 0.8518 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006995/0.8035, allocations: 158 kB / 0.852 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.8154, allocations: 3.716 MB / 0.8556 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.8154, allocations: 20 kB / 0.8556 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8154, allocations: 0 / 0.8556 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.8155, allocations: 11.95 kB / 0.8556 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.8191, allocations: 2.444 MB / 0.858 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/0.8192, allocations: 0 / 0.858 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/0.8227, allocations: 0.5617 MB / 0.8585 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/0.8232, allocations: 76.72 kB / 0.8586 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.8235, allocations: 75.91 kB / 0.8587 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.8254, allocations: 1.658 MB / 0.8603 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8254, allocations: 0 / 0.8603 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009957/0.8353, allocations: 3.221 MB / 0.8635 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.8364, allocations: 0.5529 MB / 0.864 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/0.8369, allocations: 47.88 kB / 0.864 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00301/0.8399, allocations: 267.7 kB / 0.8643 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.8403, allocations: 149.8 kB / 0.8644 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/0.8405, allocations: 91.91 kB / 0.8645 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001152/0.8417, allocations: 0.6997 MB / 0.8652 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8417, allocations: 0 / 0.8652 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00233/0.844, allocations: 0.6778 MB / 0.8659 GB, free: 5.316 MB / 0.6387 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.001733/0.8458, allocations: 0.6676 MB / 0.8665 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01011/0.8559, allocations: 3.17 MB / 0.8696 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.8559, allocations: 0 / 0.8696 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005055/0.861, allocations: 1.759 MB / 0.8713 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.8633, allocations: 397.2 kB / 0.8717 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.8727, allocations: 4.064 MB / 0.8757 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.8739, allocations: 1.426 MB / 0.8771 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003094/0.877, allocations: 0.5717 MB / 0.8776 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.8781, allocations: 231.2 kB / 0.8779 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of SimCode: time 8.51e-07/0.8781, allocations: 0 / 0.8779 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of Templates: time 0.04977/0.9279, allocations: 31.83 MB / 0.9089 GB, free: 9.531 MB / 0.6856 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)