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.001057/0.001057, allocations: 106 kB / 15.99 MB, free: 6.344 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.001051/0.001052, allocations: 195 kB / 16.91 MB, free: 6.188 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7996/0.7996, allocations: 122.9 MB / 413.6 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.89 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3913, allocations: 77.92 MB / 0.5667 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006261/0.3976, allocations: 5.11 MB / 0.5717 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1738/0.5714, allocations: 148.4 MB / 0.7167 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.5732, allocations: 19.88 kB / 0.7167 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.5744, allocations: 154.8 kB / 0.7168 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.5778, allocations: 0.504 MB / 0.7173 GB, free: 412 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.5806, allocations: 0.7544 MB / 0.7181 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002562/0.5832, allocations: 1.444 MB / 0.7195 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.5846, allocations: 0.6443 MB / 0.7201 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.5858, allocations: 0.5139 MB / 0.7206 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5869, allocations: 0.5485 MB / 0.7211 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.5873, allocations: 124 kB / 0.7213 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.5887, allocations: 471.6 kB / 0.7217 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.5892, allocations: 319 kB / 0.722 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.5903, allocations: 0.6025 MB / 0.7226 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.5934, allocations: 1.694 MB / 0.7243 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5934, allocations: 0 / 0.7243 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5934, allocations: 0 / 0.7243 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.132e-05/0.5935, allocations: 0 / 0.7243 GB, free: 9.273 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.003949/0.5975, allocations: 1.5 MB / 0.7257 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5975, allocations: 8.031 kB / 0.7257 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5989, allocations: 219.3 kB / 0.7259 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.6003, allocations: 0.75 MB / 0.7267 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.262e-05/0.6004, allocations: 74 kB / 0.7267 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.6006, allocations: 88 kB / 0.7268 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.6028, allocations: 1.015 MB / 0.7278 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.6028, allocations: 0 / 0.7278 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.603, allocations: 40 kB / 0.7279 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.603, allocations: 24 kB / 0.7279 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.6051, allocations: 1.179 MB / 0.729 GB, free: 4.258 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.005048/0.6102, allocations: 2.879 MB / 0.7318 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.6128, allocations: 0.9786 MB / 0.7328 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.6134, allocations: 314.7 kB / 0.7331 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/0.6135, allocations: 36.59 kB / 0.7331 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.6146, allocations: 0.4914 MB / 0.7336 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 4.98e-06/0.6146, allocations: 4 kB / 0.7336 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003509/0.6182, allocations: 1.229 MB / 0.7348 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.6183, allocations: 192.5 kB / 0.735 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.6192, allocations: 0.641 MB / 0.7356 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.413e-05/0.6193, allocations: 41.7 kB / 0.7357 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.6196, allocations: 420.2 kB / 0.7361 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.6199, allocations: 268.2 kB / 0.7363 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.6201, allocations: 174.5 kB / 0.7365 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.6203, allocations: 390.8 kB / 0.7369 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.6209, allocations: 269.8 kB / 0.7371 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.6216, allocations: 383.1 kB / 0.7375 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.6228, allocations: 0.619 MB / 0.7381 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.6228, allocations: 4 kB / 0.7381 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002103/0.6249, allocations: 0.8799 MB / 0.739 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.625, allocations: 4 kB / 0.739 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.625, allocations: 0 / 0.739 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/0.6256, allocations: 76.88 kB / 0.739 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.6263, allocations: 171.7 kB / 0.7392 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.6286, allocations: 1.639 MB / 0.7408 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.6295, allocations: 101.3 kB / 0.7409 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.984e-05/0.6296, allocations: 39.97 kB / 0.7409 GB, free: 7.605 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.0005201/0.6301, allocations: 271.4 kB / 0.7412 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.6303, allocations: 90.89 kB / 0.7413 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.6331, allocations: 1.105 MB / 0.7424 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6331, allocations: 12 kB / 0.7424 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6331, allocations: 0 / 0.7424 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.6331, allocations: 7.922 kB / 0.7424 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.6369, allocations: 1.989 MB / 0.7443 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6369, allocations: 3.938 kB / 0.7443 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.6376, allocations: 151.8 kB / 0.7445 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.6381, allocations: 72.78 kB / 0.7445 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.6381, allocations: 27.98 kB / 0.7446 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.6402, allocations: 1.662 MB / 0.7462 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6402, allocations: 208 / 0.7462 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.6424, allocations: 1.019 MB / 0.7472 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.6429, allocations: 275.7 kB / 0.7474 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6431, allocations: 16 kB / 0.7475 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.6439, allocations: 71.92 kB / 0.7475 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.644, allocations: 72.89 kB / 0.7476 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.6441, allocations: 35.98 kB / 0.7476 GB, free: 488 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006653/0.6448, allocations: 471 kB / 0.7481 GB, free: 20 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6448, allocations: 0 / 0.7481 GB, free: 20 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.3175/0.9623, allocations: 340 kB / 0.7484 GB, free: 170.2 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.001782/0.9642, allocations: 0.606 MB / 0.749 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.9674, allocations: 1.061 MB / 0.75 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.9674, allocations: 1.562 kB / 0.75 GB, free: 170 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.9687, allocations: 0.5336 MB / 0.7506 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.9705, allocations: 303.9 kB / 0.7508 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.9746, allocations: 2.178 MB / 0.753 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.9753, allocations: 1.045 MB / 0.754 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001155/0.9765, allocations: 275.1 kB / 0.7543 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.9769, allocations: 109.9 kB / 0.7544 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.9769, allocations: 0.6562 kB / 0.7544 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.035/1.012, allocations: 15.45 MB / 0.7694 GB, free: 162.7 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)