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.001485/0.001485, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.001743/0.001743, allocations: 195 kB / 17.98 MB, free: 5.02 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.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7425/0.7425, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 56.09 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3377, allocations: 76.15 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00589/0.3436, allocations: 5.099 MB / 0.5626 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1702/0.5139, allocations: 150.7 MB / 0.7097 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.5152, allocations: 19.88 kB / 0.7097 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007161/0.5159, allocations: 202.1 kB / 0.7099 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.5183, allocations: 0.5624 MB / 0.7104 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.5206, allocations: 0.8492 MB / 0.7113 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.5223, allocations: 1.436 MB / 0.7127 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009418/0.5233, allocations: 0.6599 MB / 0.7133 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008438/0.5241, allocations: 0.5061 MB / 0.7138 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.5248, allocations: 0.5484 MB / 0.7144 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.5249, allocations: 124 kB / 0.7145 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.526, allocations: 0.4918 MB / 0.715 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.5263, allocations: 315 kB / 0.7153 GB, free: 2.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.5269, allocations: 0.6025 MB / 0.7158 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.5289, allocations: 1.733 MB / 0.7175 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5289, allocations: 0 / 0.7175 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd: time 4.068e-06/0.529, allocations: 0 / 0.7175 GB, free: 224 kB / 0.545 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.529, allocations: 3.938 kB / 0.7175 GB, free: 220 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.002641/0.5316, allocations: 1.492 MB / 0.719 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5317, allocations: 12.03 kB / 0.719 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5328, allocations: 211.3 kB / 0.7192 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5341, allocations: 0.7773 MB / 0.72 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/0.5342, allocations: 77.94 kB / 0.72 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5343, allocations: 92 kB / 0.7201 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.536, allocations: 1.007 MB / 0.7211 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.536, allocations: 4 kB / 0.7211 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.5361, allocations: 40 kB / 0.7212 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.5361, allocations: 24 kB / 0.7212 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.5381, allocations: 1.175 MB / 0.7223 GB, free: 11.18 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.00436/0.5424, allocations: 2.86 MB / 0.7251 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.5449, allocations: 0.9786 MB / 0.7261 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.5455, allocations: 310.7 kB / 0.7264 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.96e-05/0.5456, allocations: 32.61 kB / 0.7264 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5466, allocations: 0.5069 MB / 0.7269 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/0.5467, allocations: 0 / 0.7269 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003379/0.5501, allocations: 1.217 MB / 0.7281 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5502, allocations: 196.5 kB / 0.7283 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.551, allocations: 0.6526 MB / 0.7289 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.5511, allocations: 41.7 kB / 0.7289 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/0.5516, allocations: 416.3 kB / 0.7293 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.5518, allocations: 268.2 kB / 0.7296 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.5521, allocations: 166.5 kB / 0.7298 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003083/0.5524, allocations: 382.8 kB / 0.7301 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.5529, allocations: 281.8 kB / 0.7304 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.5536, allocations: 375 kB / 0.7308 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.5548, allocations: 0.6268 MB / 0.7314 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5548, allocations: 0 / 0.7314 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001983/0.5568, allocations: 0.8799 MB / 0.7322 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5568, allocations: 8 kB / 0.7322 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5568, allocations: 4.094 kB / 0.7322 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/0.5574, allocations: 80.77 kB / 0.7323 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.5581, allocations: 167.7 kB / 0.7325 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.5603, allocations: 1.633 MB / 0.7341 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.5611, allocations: 105.2 kB / 0.7342 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.5612, allocations: 31.98 kB / 0.7342 GB, free: 14.55 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.0004657/0.5616, allocations: 280.6 kB / 0.7345 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.5618, allocations: 86.97 kB / 0.7345 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.5644, allocations: 1.089 MB / 0.7356 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5644, allocations: 15.94 kB / 0.7356 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.5644, allocations: 0 / 0.7356 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5644, allocations: 3.984 kB / 0.7356 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.5679, allocations: 1.997 MB / 0.7376 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.5679, allocations: 4 kB / 0.7376 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.5686, allocations: 151.8 kB / 0.7377 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.5691, allocations: 80.77 kB / 0.7378 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.5691, allocations: 27.97 kB / 0.7378 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.5711, allocations: 1.65 MB / 0.7394 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5711, allocations: 0 / 0.7394 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.5733, allocations: 1.029 MB / 0.7404 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.5737, allocations: 267.7 kB / 0.7407 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5739, allocations: 23.98 kB / 0.7407 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.5746, allocations: 63.94 kB / 0.7408 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.5747, allocations: 72.89 kB / 0.7409 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.5748, allocations: 35.98 kB / 0.7409 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006145/0.5754, allocations: 471 kB / 0.7413 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5755, allocations: 0 / 0.7413 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009707/0.5764, allocations: 339.1 kB / 0.7417 GB, free: 6.633 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.001443/0.5779, allocations: 0.6048 MB / 0.7423 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.5798, allocations: 0.8585 MB / 0.7431 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5798, allocations: 4.188 kB / 0.7431 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/0.5808, allocations: 0.5276 MB / 0.7436 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.582, allocations: 300.8 kB / 0.7439 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.5853, allocations: 1.716 MB / 0.7456 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.5859, allocations: 1.047 MB / 0.7466 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008245/0.5868, allocations: 266.8 kB / 0.7469 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.587, allocations: 111.4 kB / 0.747 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.587, allocations: 4 kB / 0.747 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.2673/0.8544, allocations: 15.55 MB / 0.7621 GB, free: 171.1 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)