Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7832/0.7832, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009711/0.0009709, allocations: 184.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 96.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 274.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.586e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3953, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.267/4.662, allocations: 1.691 GB / 2.448 GB, free: 60.55 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/4.662, allocations: 94.14 kB / 2.448 GB, free: 60.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6846/5.347, allocations: 67.52 MB / 2.514 GB, free: 237.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/5.347, allocations: 0 / 2.514 GB, free: 237.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.919e-05/5.347, allocations: 29.59 kB / 2.514 GB, free: 237.6 MB / 0.698 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.002245/5.349, allocations: 1.112 MB / 2.515 GB, free: 237 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/5.349, allocations: 9.406 kB / 2.515 GB, free: 237 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/5.351, allocations: 211 kB / 2.515 GB, free: 237 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/5.352, allocations: 0.6314 MB / 2.516 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/5.352, allocations: 29.7 kB / 2.516 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/5.352, allocations: 49.66 kB / 2.516 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00202/5.354, allocations: 1.02 MB / 2.517 GB, free: 236.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/5.356, allocations: 0.7825 MB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/5.356, allocations: 3.75 kB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/5.356, allocations: 3.875 kB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/5.356, allocations: 21.47 kB / 2.518 GB, free: 236.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/5.36, allocations: 2.328 MB / 2.52 GB, free: 236 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/5.362, allocations: 0.7912 MB / 2.521 GB, free: 235.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/5.363, allocations: 243.4 kB / 2.521 GB, free: 235.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-05/5.363, allocations: 29.56 kB / 2.521 GB, free: 235.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000727/5.364, allocations: 394.3 kB / 2.522 GB, free: 235.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/5.364, allocations: 3.375 kB / 2.522 GB, free: 235.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001742/5.365, allocations: 0.6428 MB / 2.522 GB, free: 235.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/5.366, allocations: 248.1 kB / 2.523 GB, free: 235.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008017/5.366, allocations: 0.4933 MB / 2.523 GB, free: 235.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/5.366, allocations: 32.25 kB / 2.523 GB, free: 235.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/5.367, allocations: 401.6 kB / 2.523 GB, free: 235.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/5.367, allocations: 229.8 kB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/5.367, allocations: 0.9375 kB / 2.524 GB, free: 234.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000117/5.367, allocations: 375.3 kB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/5.367, allocations: 189.2 kB / 2.524 GB, free: 234.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/5.368, allocations: 292.9 kB / 2.524 GB, free: 234.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/5.368, allocations: 239.2 kB / 2.525 GB, free: 234.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/5.368, allocations: 0 / 2.525 GB, free: 234.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001462/5.37, allocations: 0.6387 MB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/5.37, allocations: 7.812 kB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/5.37, allocations: 1.719 kB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/5.37, allocations: 87.56 kB / 2.525 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/5.371, allocations: 138 kB / 2.526 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/5.373, allocations: 1.46 MB / 2.527 GB, free: 233.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/5.373, allocations: 62.23 kB / 2.527 GB, free: 233.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/5.373, allocations: 26.56 kB / 2.527 GB, free: 233.2 MB / 0.698 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 () * 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.0001571/5.373, allocations: 119.6 kB / 2.527 GB, free: 233.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/5.374, allocations: 70.31 kB / 2.527 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/5.375, allocations: 0.9095 MB / 2.528 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/5.375, allocations: 7.5 kB / 2.528 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/5.375, allocations: 0 / 2.528 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/5.375, allocations: 3.938 kB / 2.528 GB, free: 232.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/5.378, allocations: 1.704 MB / 2.53 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/5.378, allocations: 0 / 2.53 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/5.379, allocations: 149.8 kB / 2.53 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/5.379, allocations: 84.94 kB / 2.53 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/5.379, allocations: 16.56 kB / 2.53 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/5.381, allocations: 1.481 MB / 2.531 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.381, allocations: 3.875 kB / 2.531 GB, free: 231.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/5.382, allocations: 0.8176 MB / 2.532 GB, free: 231.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/5.382, allocations: 282.2 kB / 2.533 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/5.383, allocations: 6.344 kB / 2.533 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/5.383, allocations: 54.62 kB / 2.533 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/5.383, allocations: 64.59 kB / 2.533 GB, free: 231 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/5.383, allocations: 28.08 kB / 2.533 GB, free: 231 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004734/5.384, allocations: 402.7 kB / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.384, allocations: 0 / 2.533 GB, free: 230.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001179/5.385, allocations: 341.6 kB / 2.533 GB, free: 230.9 MB / 0.698 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) * 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.001823/5.387, allocations: 1.072 MB / 2.534 GB, free: 230.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001115/5.388, allocations: 0.6524 MB / 2.535 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/5.388, allocations: 0 / 2.535 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005885/5.389, allocations: 444.9 kB / 2.535 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/5.39, allocations: 222.4 kB / 2.536 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/5.393, allocations: 1.324 MB / 2.537 GB, free: 230.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/5.393, allocations: 1.039 MB / 2.538 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008544/5.394, allocations: 262.4 kB / 2.538 GB, free: 229.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/5.394, allocations: 92.2 kB / 2.538 GB, free: 229.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/5.394, allocations: 0 / 2.538 GB, free: 229.3 MB / 0.698 GB Notification: Performance of Templates: time 0.02733/5.422, allocations: 15.6 MB / 2.554 GB, free: 227.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)