Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 97.62 kB / 16.63 MB, free: 6.824 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.001217/0.001217, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.384/1.384, allocations: 222.9 MB / 241.3 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7934/0.7934, allocations: 125.3 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 63.91 kB / 0.4943 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.354, allocations: 78.57 MB / 0.571 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006218/0.3603, allocations: 5.11 MB / 0.576 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1793/0.5396, allocations: 148.4 MB / 0.721 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.5412, allocations: 11.94 kB / 0.721 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.5421, allocations: 158.8 kB / 0.7211 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.5446, allocations: 0.4919 MB / 0.7216 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.5471, allocations: 0.7565 MB / 0.7224 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.5491, allocations: 1.44 MB / 0.7238 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.5502, allocations: 0.6521 MB / 0.7244 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008353/0.551, allocations: 0.5139 MB / 0.7249 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.5517, allocations: 0.5407 MB / 0.7254 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.5519, allocations: 124 kB / 0.7255 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5529, allocations: 471.6 kB / 0.726 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.5532, allocations: 323 kB / 0.7263 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005959/0.5538, allocations: 0.5986 MB / 0.7269 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.5556, allocations: 1.313 MB / 0.7282 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5556, allocations: 0 / 0.7282 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5556, allocations: 0 / 0.7282 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.451e-05/0.5557, allocations: 0 / 0.7282 GB, free: 6.281 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002978/0.5587, allocations: 1.488 MB / 0.7296 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5587, allocations: 8.625 kB / 0.7296 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.5599, allocations: 215.3 kB / 0.7298 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.5611, allocations: 0.7539 MB / 0.7306 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.5612, allocations: 66 kB / 0.7306 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5613, allocations: 100 kB / 0.7307 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.5633, allocations: 1.015 MB / 0.7317 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.5633, allocations: 0 / 0.7317 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.5634, allocations: 40 kB / 0.7318 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.5634, allocations: 27.94 kB / 0.7318 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.5655, allocations: 1.175 MB / 0.7329 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/0.5705, allocations: 2.975 MB / 0.7358 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.5731, allocations: 0.9693 MB / 0.7368 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000631/0.5738, allocations: 323.2 kB / 0.7371 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.5739, allocations: 32.55 kB / 0.7371 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.575, allocations: 0.4992 MB / 0.7376 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.575, allocations: 0 / 0.7376 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.00356/0.5785, allocations: 1.229 MB / 0.7388 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.5787, allocations: 192.5 kB / 0.739 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.5797, allocations: 0.6449 MB / 0.7396 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/0.5798, allocations: 45.7 kB / 0.7397 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.5802, allocations: 420.2 kB / 0.7401 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.5805, allocations: 264.2 kB / 0.7403 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.5808, allocations: 166.5 kB / 0.7405 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002371/0.581, allocations: 386.8 kB / 0.7408 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.5816, allocations: 281.8 kB / 0.7411 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.5823, allocations: 371.1 kB / 0.7415 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.5836, allocations: 0.6229 MB / 0.7421 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5836, allocations: 3.938 kB / 0.7421 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002221/0.5858, allocations: 0.876 MB / 0.7429 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5859, allocations: 4 kB / 0.7429 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5859, allocations: 4.094 kB / 0.7429 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006361/0.5865, allocations: 76.78 kB / 0.743 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/0.5873, allocations: 175.7 kB / 0.7432 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.5897, allocations: 1.638 MB / 0.7448 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008822/0.5906, allocations: 103.2 kB / 0.7449 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.5907, allocations: 40.03 kB / 0.7449 GB, free: 4.492 MB / 0.5762 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 (96): * Single equations (assignments): 95 * 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.0005389/0.5912, allocations: 271.4 kB / 0.7452 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.5914, allocations: 83 kB / 0.7453 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.5941, allocations: 1.097 MB / 0.7463 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5941, allocations: 8 kB / 0.7463 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5941, allocations: 4 kB / 0.7463 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5941, allocations: 3.984 kB / 0.7463 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.5979, allocations: 1.998 MB / 0.7483 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5979, allocations: 0 / 0.7483 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/0.5985, allocations: 155.7 kB / 0.7484 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.599, allocations: 76.77 kB / 0.7485 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.5991, allocations: 23.98 kB / 0.7485 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2901/0.8892, allocations: 1.659 MB / 0.7502 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8892, allocations: 0 / 0.7502 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.8918, allocations: 1.021 MB / 0.7512 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.8923, allocations: 275.5 kB / 0.7514 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.8924, allocations: 19.16 kB / 0.7514 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007297/0.8931, allocations: 71.28 kB / 0.7515 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.8933, allocations: 73.95 kB / 0.7516 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/0.8934, allocations: 37.39 kB / 0.7516 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006831/0.8941, allocations: 467.1 kB / 0.7521 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.42e-07/0.8941, allocations: 0.7812 kB / 0.7521 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001033/0.8952, allocations: 342 kB / 0.7524 GB, free: 167.7 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * 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.001966/0.8971, allocations: 0.6167 MB / 0.753 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002756/0.8999, allocations: 1.058 MB / 0.754 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.8999, allocations: 5.688 kB / 0.754 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.901, allocations: 0.5276 MB / 0.7545 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.9024, allocations: 305.9 kB / 0.7548 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.9063, allocations: 2.211 MB / 0.757 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.9069, allocations: 1.041 MB / 0.758 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.9073, allocations: 123 kB / 0.7581 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/0.9073, allocations: 0 / 0.7581 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02875/0.9361, allocations: 19.33 MB / 0.777 GB, free: 155.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)