Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 173 kB / 327.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 90.22 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 10.19 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.539/4.734, allocations: 2.19 GB / 3.091 GB, free: 28.33 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/4.735, allocations: 97.02 kB / 3.092 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5402/5.275, allocations: 63.46 MB / 3.154 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.945e-06/5.275, allocations: 0 / 3.154 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001184/5.275, allocations: 28.16 kB / 3.154 GB, free: 313.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002856/5.278, allocations: 1.136 MB / 3.155 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/5.278, allocations: 10.59 kB / 3.155 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/5.279, allocations: 198.9 kB / 3.155 GB, free: 312.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/5.281, allocations: 0.64 MB / 3.156 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/5.281, allocations: 63.66 kB / 3.156 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/5.281, allocations: 76.81 kB / 3.156 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/5.283, allocations: 0.8611 MB / 3.156 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/5.283, allocations: 6.156 kB / 3.156 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/5.283, allocations: 36.53 kB / 3.157 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/5.283, allocations: 20.03 kB / 3.157 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/5.285, allocations: 1.086 MB / 3.158 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/5.289, allocations: 2.417 MB / 3.16 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/5.291, allocations: 0.8209 MB / 3.161 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/5.291, allocations: 300.1 kB / 3.161 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/5.291, allocations: 27.27 kB / 3.161 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008713/5.292, allocations: 453.2 kB / 3.162 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 5.139e-06/5.292, allocations: 0 / 3.162 GB, free: 311.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.003136/5.295, allocations: 1.141 MB / 3.163 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/5.295, allocations: 242.2 kB / 3.163 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/5.296, allocations: 0.6362 MB / 3.163 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/5.296, allocations: 39.52 kB / 3.164 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/5.297, allocations: 368.9 kB / 3.164 GB, free: 310.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/5.297, allocations: 241.8 kB / 3.164 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/5.297, allocations: 11.22 kB / 3.164 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001502/5.297, allocations: 385.1 kB / 3.164 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/5.298, allocations: 226.1 kB / 3.165 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/5.298, allocations: 352.8 kB / 3.165 GB, free: 309.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/5.299, allocations: 0.5493 MB / 3.166 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/5.299, allocations: 0 / 3.166 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001747/5.301, allocations: 0.757 MB / 3.166 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/5.301, allocations: 8 kB / 3.166 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/5.301, allocations: 0 / 3.166 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/5.302, allocations: 91.34 kB / 3.166 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/5.302, allocations: 144.1 kB / 3.167 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/5.304, allocations: 1.524 MB / 3.168 GB, free: 308 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/5.304, allocations: 76.03 kB / 3.168 GB, free: 308 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/5.305, allocations: 33.62 kB / 3.168 GB, free: 308 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003548/5.305, allocations: 251.1 kB / 3.168 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/5.305, allocations: 80.5 kB / 3.168 GB, free: 307.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/5.307, allocations: 1.039 MB / 3.169 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/5.307, allocations: 7.906 kB / 3.169 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/5.307, allocations: 0 / 3.169 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/5.307, allocations: 11.91 kB / 3.169 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/5.308, allocations: 0.8885 MB / 3.17 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/5.308, allocations: 0 / 3.17 GB, free: 307.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/5.308, allocations: 142.2 kB / 3.17 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/5.309, allocations: 87.42 kB / 3.171 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/5.309, allocations: 23.42 kB / 3.171 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/5.31, allocations: 1.564 MB / 3.172 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/5.31, allocations: 3.938 kB / 3.172 GB, free: 305.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/5.312, allocations: 0.8717 MB / 3.173 GB, free: 305.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/5.312, allocations: 286.6 kB / 3.173 GB, free: 305 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/5.312, allocations: 15.94 kB / 3.173 GB, free: 305 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/5.313, allocations: 67.36 kB / 3.173 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/5.313, allocations: 64.06 kB / 3.173 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/5.313, allocations: 31.36 kB / 3.173 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004781/5.313, allocations: 479.6 kB / 3.174 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/5.313, allocations: 0 / 3.174 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009317/5.314, allocations: 323.1 kB / 3.174 GB, free: 304.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/5.316, allocations: 1.024 MB / 3.175 GB, free: 304 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001297/5.317, allocations: 0.7584 MB / 3.176 GB, free: 303.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/5.317, allocations: 0 / 3.176 GB, free: 303.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007268/5.318, allocations: 0.4943 MB / 3.176 GB, free: 303.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/5.319, allocations: 253.6 kB / 3.177 GB, free: 303.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/5.322, allocations: 2.073 MB / 3.179 GB, free: 301.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/5.323, allocations: 0.9976 MB / 3.18 GB, free: 301 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007794/5.324, allocations: 262.7 kB / 3.18 GB, free: 300.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/5.324, allocations: 101.5 kB / 3.18 GB, free: 300.9 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/5.324, allocations: 0 / 3.18 GB, free: 300.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.02528/5.349, allocations: 20.45 MB / 3.2 GB, free: 281.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)