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.001157/0.001157, allocations: 111.4 kB / 17.04 MB, free: 6.078 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.001191/0.001191, allocations: 195 kB / 17.98 MB, free: 5.16 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.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7089/0.7089, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3654, allocations: 76.15 MB / 0.5576 GB, free: 36.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005623/0.3711, allocations: 5.105 MB / 0.5626 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1685/0.5396, allocations: 150.7 MB / 0.7097 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008848/0.5405, allocations: 15.94 kB / 0.7097 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.541, allocations: 206.1 kB / 0.7099 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.5428, allocations: 0.5631 MB / 0.7104 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.5448, allocations: 0.8452 MB / 0.7113 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.5461, allocations: 1.444 MB / 0.7127 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.547, allocations: 0.656 MB / 0.7133 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005581/0.5475, allocations: 0.5099 MB / 0.7138 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.5481, allocations: 0.5368 MB / 0.7143 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.5482, allocations: 135.9 kB / 0.7145 GB, free: 3.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008014/0.549, allocations: 491.6 kB / 0.7149 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.5493, allocations: 323 kB / 0.7153 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.5498, allocations: 0.5986 MB / 0.7158 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5515, allocations: 1.729 MB / 0.7175 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.5515, allocations: 0 / 0.7175 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5515, allocations: 4 kB / 0.7175 GB, free: 344 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.5515, allocations: 0 / 0.7175 GB, free: 344 kB / 0.545 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.002426/0.5539, allocations: 1.496 MB / 0.719 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.554, allocations: 12.03 kB / 0.719 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.555, allocations: 215.3 kB / 0.7192 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.5562, allocations: 0.7811 MB / 0.72 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.5563, allocations: 73.94 kB / 0.72 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5564, allocations: 92 kB / 0.7201 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.558, allocations: 1.007 MB / 0.7211 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.558, allocations: 0 / 0.7211 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.5581, allocations: 36 kB / 0.7211 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.5582, allocations: 28 kB / 0.7212 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.56, allocations: 1.175 MB / 0.7223 GB, free: 11.3 MB / 0.5606 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.004305/0.5643, allocations: 2.864 MB / 0.7251 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.5668, allocations: 0.9708 MB / 0.7261 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.5674, allocations: 315.3 kB / 0.7264 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-05/0.5675, allocations: 28.61 kB / 0.7264 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/0.5684, allocations: 0.5133 MB / 0.7269 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.205e-06/0.5684, allocations: 0 / 0.7269 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003243/0.5716, allocations: 1.221 MB / 0.7281 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.5719, allocations: 200.5 kB / 0.7283 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009039/0.5728, allocations: 0.6409 MB / 0.7289 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.5729, allocations: 45.7 kB / 0.7289 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.5732, allocations: 420.3 kB / 0.7293 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.5734, allocations: 268.2 kB / 0.7296 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.5737, allocations: 162.5 kB / 0.7298 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.5739, allocations: 386.8 kB / 0.7301 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.5744, allocations: 277.8 kB / 0.7304 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.5752, allocations: 371.1 kB / 0.7307 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5763, allocations: 0.6346 MB / 0.7314 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5764, allocations: 0 / 0.7314 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002002/0.5784, allocations: 0.8759 MB / 0.7322 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5784, allocations: 4 kB / 0.7322 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5784, allocations: 0 / 0.7322 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.579, allocations: 84.86 kB / 0.7323 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.5797, allocations: 167.8 kB / 0.7325 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.5819, allocations: 1.63 MB / 0.7341 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.5826, allocations: 107.3 kB / 0.7342 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/0.5827, allocations: 35.91 kB / 0.7342 GB, free: 14.66 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.0004557/0.5832, allocations: 276.9 kB / 0.7345 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.5834, allocations: 82.97 kB / 0.7345 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.5859, allocations: 1.097 MB / 0.7356 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.5859, allocations: 8 kB / 0.7356 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5859, allocations: 3.984 kB / 0.7356 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5859, allocations: 3.984 kB / 0.7356 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.5893, allocations: 1.993 MB / 0.7376 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5893, allocations: 0 / 0.7376 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.59, allocations: 155.8 kB / 0.7377 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.5904, allocations: 72.78 kB / 0.7378 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.5905, allocations: 23.98 kB / 0.7378 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.5924, allocations: 1.666 MB / 0.7394 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5924, allocations: 0 / 0.7394 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.5946, allocations: 1.021 MB / 0.7404 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.595, allocations: 279.7 kB / 0.7407 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5951, allocations: 20 kB / 0.7407 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.5959, allocations: 65.95 kB / 0.7408 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.596, allocations: 68.91 kB / 0.7408 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.5961, allocations: 35.97 kB / 0.7409 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005579/0.5967, allocations: 471 kB / 0.7413 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5967, allocations: 4 kB / 0.7413 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008691/0.5976, allocations: 339.1 kB / 0.7417 GB, free: 6.746 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.001266/0.5988, allocations: 0.605 MB / 0.7423 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.6005, allocations: 0.8546 MB / 0.7431 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6005, allocations: 0 / 0.7431 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.6016, allocations: 0.5316 MB / 0.7436 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6027, allocations: 304.8 kB / 0.7439 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.6056, allocations: 1.713 MB / 0.7456 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.6063, allocations: 1.039 MB / 0.7466 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007677/0.607, allocations: 274.8 kB / 0.7468 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.6073, allocations: 107.4 kB / 0.7469 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of SimCode: time 1.803e-06/0.6073, allocations: 0 / 0.7469 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of Templates: time 0.2464/0.8538, allocations: 15.57 MB / 0.7621 GB, free: 171.4 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)