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.001387/0.001387, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001374/0.001374, allocations: 186.7 kB / 17.19 MB, free: 5.684 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.486/1.486, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8384/0.8384, allocations: 125.4 MB / 416.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 0.4941 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4566, allocations: 78.56 MB / 0.5709 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006568/0.4632, allocations: 5.112 MB / 0.5758 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1964/0.6596, allocations: 150.7 MB / 0.723 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.6612, allocations: 11.94 kB / 0.723 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.6624, allocations: 198.1 kB / 0.7232 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.6656, allocations: 0.56 MB / 0.7237 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.6688, allocations: 0.8458 MB / 0.7246 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.6715, allocations: 1.436 MB / 0.726 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.6731, allocations: 0.6561 MB / 0.7266 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.6742, allocations: 0.5061 MB / 0.7271 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.6752, allocations: 0.5445 MB / 0.7276 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.6756, allocations: 128 kB / 0.7278 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.6772, allocations: 467.7 kB / 0.7282 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.6779, allocations: 326.9 kB / 0.7285 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008706/0.6787, allocations: 0.5986 MB / 0.7291 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.6813, allocations: 1.698 MB / 0.7308 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6813, allocations: 0 / 0.7308 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.494e-06/0.6813, allocations: 0 / 0.7308 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.6813, allocations: 0 / 0.7308 GB, free: 3.246 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.002769/0.6841, allocations: 1.492 MB / 0.7322 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6841, allocations: 8.625 kB / 0.7322 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.6853, allocations: 219.3 kB / 0.7324 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6864, allocations: 0.75 MB / 0.7332 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.6865, allocations: 78 kB / 0.7332 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.6866, allocations: 91.98 kB / 0.7333 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.6884, allocations: 1.011 MB / 0.7343 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6884, allocations: 0 / 0.7343 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.6885, allocations: 40 kB / 0.7343 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.6885, allocations: 24 kB / 0.7344 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.6905, allocations: 1.178 MB / 0.7355 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/0.6951, allocations: 2.979 MB / 0.7384 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.6976, allocations: 0.9825 MB / 0.7394 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.6982, allocations: 314.7 kB / 0.7397 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.772e-05/0.6983, allocations: 32.62 kB / 0.7397 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/0.6993, allocations: 0.4953 MB / 0.7402 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.6993, allocations: 0 / 0.7402 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003374/0.7027, allocations: 1.233 MB / 0.7414 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7029, allocations: 196.5 kB / 0.7416 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/0.7038, allocations: 0.6371 MB / 0.7422 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.7038, allocations: 41.7 kB / 0.7423 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.7042, allocations: 424.2 kB / 0.7427 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.7045, allocations: 268.2 kB / 0.7429 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.7048, allocations: 166.5 kB / 0.7431 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.705, allocations: 390.8 kB / 0.7435 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.7056, allocations: 273.8 kB / 0.7437 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/0.7063, allocations: 375.2 kB / 0.7441 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.7075, allocations: 0.6268 MB / 0.7447 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7075, allocations: 4 kB / 0.7447 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002071/0.7096, allocations: 0.8799 MB / 0.7455 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7096, allocations: 6.188 kB / 0.7456 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7096, allocations: 0 / 0.7456 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/0.7102, allocations: 84.86 kB / 0.7456 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.7109, allocations: 167.7 kB / 0.7458 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.7132, allocations: 1.63 MB / 0.7474 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008251/0.714, allocations: 99.31 kB / 0.7475 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.7141, allocations: 39.97 kB / 0.7475 GB, free: 1.461 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.0005455/0.7147, allocations: 267.4 kB / 0.7478 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.7149, allocations: 86.91 kB / 0.7479 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2919/1.007, allocations: 1.1 MB / 0.7489 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/1.007, allocations: 9.438 kB / 0.7489 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.007, allocations: 1.469 kB / 0.7489 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/1.007, allocations: 6.609 kB / 0.7489 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/1.012, allocations: 1.997 MB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.012, allocations: 3.469 kB / 0.7509 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/1.012, allocations: 148 kB / 0.751 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/1.013, allocations: 73.36 kB / 0.7511 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/1.013, allocations: 27.23 kB / 0.7511 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/1.015, allocations: 1.659 MB / 0.7528 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.015, allocations: 0 / 0.7528 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/1.017, allocations: 1.023 MB / 0.7538 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/1.017, allocations: 273.4 kB / 0.754 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/1.018, allocations: 25.8 kB / 0.754 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/1.018, allocations: 64.17 kB / 0.7541 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/1.018, allocations: 74.52 kB / 0.7542 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/1.019, allocations: 33.72 kB / 0.7542 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008984/1.019, allocations: 468.9 kB / 0.7547 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 3.375 kB / 0.7547 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001344/1.021, allocations: 342.9 kB / 0.755 GB, free: 166.8 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.002141/1.023, allocations: 0.5988 MB / 0.7556 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003549/1.026, allocations: 1.061 MB / 0.7566 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.027, allocations: 1.844 kB / 0.7566 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.028, allocations: 0.5344 MB / 0.7571 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.029, allocations: 307.6 kB / 0.7574 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/1.033, allocations: 1.744 MB / 0.7591 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/1.033, allocations: 1.047 MB / 0.7601 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001036/1.034, allocations: 276 kB / 0.7604 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.035, allocations: 111.2 kB / 0.7605 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/1.035, allocations: 0 / 0.7605 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02839/1.063, allocations: 15.56 MB / 0.7757 GB, free: 156.5 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)