Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.577/1.577, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008768/0.0008767, allocations: 182.9 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 95.94 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 12.88 kB / 0.9088 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5313, allocations: 120.3 MB / 1.026 GB, free: 56.61 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.187/3.718, allocations: 1.723 GB / 2.75 GB, free: 64.6 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/3.718, allocations: 102 kB / 2.75 GB, free: 64.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.5509/4.269, allocations: 68.68 MB / 2.817 GB, free: 295.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.838e-06/4.269, allocations: 2.969 kB / 2.817 GB, free: 295.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.465e-05/4.269, allocations: 29.28 kB / 2.817 GB, free: 295.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00214/4.272, allocations: 1.209 MB / 2.818 GB, free: 294.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/4.272, allocations: 9.062 kB / 2.818 GB, free: 294.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/4.273, allocations: 217.8 kB / 2.818 GB, free: 294.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/4.274, allocations: 0.6482 MB / 2.819 GB, free: 294.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/4.274, allocations: 67.42 kB / 2.819 GB, free: 294.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/4.274, allocations: 89.31 kB / 2.819 GB, free: 294.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/4.275, allocations: 0.9418 MB / 2.82 GB, free: 294.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/4.275, allocations: 4.531 kB / 2.82 GB, free: 294.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/4.276, allocations: 43.3 kB / 2.82 GB, free: 294.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/4.276, allocations: 21.97 kB / 2.82 GB, free: 294.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/4.278, allocations: 1.131 MB / 2.821 GB, free: 294.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/4.281, allocations: 2.501 MB / 2.824 GB, free: 293.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/4.283, allocations: 0.8891 MB / 2.824 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/4.284, allocations: 290.5 kB / 2.825 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.759e-05/4.284, allocations: 37.86 kB / 2.825 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/4.285, allocations: 441.6 kB / 2.825 GB, free: 293.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/4.285, allocations: 0 / 2.825 GB, free: 293.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=73): time 0.002667/4.287, allocations: 1.121 MB / 2.826 GB, free: 293.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/4.287, allocations: 244.8 kB / 2.826 GB, free: 293.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007574/4.288, allocations: 0.6635 MB / 2.827 GB, free: 292.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/4.288, allocations: 44.31 kB / 2.827 GB, free: 292.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/4.288, allocations: 397.3 kB / 2.828 GB, free: 292.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/4.289, allocations: 241.8 kB / 2.828 GB, free: 292.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/4.289, allocations: 13.59 kB / 2.828 GB, free: 292.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001006/4.289, allocations: 379.2 kB / 2.828 GB, free: 292.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/4.289, allocations: 223.9 kB / 2.828 GB, free: 292.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/4.29, allocations: 338 kB / 2.829 GB, free: 292.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009062/4.291, allocations: 0.5339 MB / 2.829 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/4.291, allocations: 1.031 kB / 2.829 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001552/4.292, allocations: 0.742 MB / 2.83 GB, free: 292 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/4.292, allocations: 4.875 kB / 2.83 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/4.292, allocations: 4.062 kB / 2.83 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/4.293, allocations: 81.64 kB / 2.83 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/4.293, allocations: 138.9 kB / 2.83 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/4.295, allocations: 1.52 MB / 2.832 GB, free: 290.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/4.295, allocations: 88.89 kB / 2.832 GB, free: 290.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/4.295, allocations: 26.14 kB / 2.832 GB, free: 290.7 MB / 0.9792 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.000325/4.296, allocations: 263.7 kB / 2.832 GB, free: 290.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/4.296, allocations: 78.34 kB / 2.832 GB, free: 290.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/4.298, allocations: 1.013 MB / 2.833 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/4.298, allocations: 15.38 kB / 2.833 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/4.298, allocations: 0 / 2.833 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/4.298, allocations: 7.594 kB / 2.833 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/4.301, allocations: 1.937 MB / 2.835 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/4.301, allocations: 0 / 2.835 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/4.301, allocations: 151.4 kB / 2.835 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/4.302, allocations: 86.88 kB / 2.835 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/4.302, allocations: 21.78 kB / 2.835 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/4.303, allocations: 1.546 MB / 2.837 GB, free: 288.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/4.303, allocations: 2.156 kB / 2.837 GB, free: 288.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/4.305, allocations: 0.9302 MB / 2.838 GB, free: 288.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/4.305, allocations: 290.4 kB / 2.838 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/4.305, allocations: 21.67 kB / 2.838 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/4.306, allocations: 64.56 kB / 2.838 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/4.306, allocations: 62 kB / 2.838 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/4.306, allocations: 29.23 kB / 2.838 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005577/4.307, allocations: 495 kB / 2.839 GB, free: 288.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.6e-07/4.307, allocations: 0 / 2.839 GB, free: 288.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001195/4.308, allocations: 365.2 kB / 2.839 GB, free: 288.3 MB / 0.9792 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.conTim.tNext,weaDat.conTimMin.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.002334/4.31, allocations: 1.068 MB / 2.84 GB, free: 288.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001723/4.312, allocations: 0.7415 MB / 2.841 GB, free: 287.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/4.312, allocations: 3.406 kB / 2.841 GB, free: 287.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000901/4.313, allocations: 496.1 kB / 2.841 GB, free: 287.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/4.314, allocations: 251 kB / 2.841 GB, free: 287.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/4.318, allocations: 2.168 MB / 2.844 GB, free: 286.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/4.319, allocations: 1.016 MB / 2.844 GB, free: 286.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009935/4.32, allocations: 270.7 kB / 2.845 GB, free: 286.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/4.32, allocations: 96.39 kB / 2.845 GB, free: 286 MB / 0.9792 GB Notification: Performance of SimCode: time 1.152e-06/4.32, allocations: 0 / 2.845 GB, free: 286 MB / 0.9792 GB Notification: Performance of Templates: time 0.02769/4.348, allocations: 20.68 MB / 2.865 GB, free: 284.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)