Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 101.5 kB / 16.27 MB, free: 5.93 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.001358/0.001359, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7779/0.7779, allocations: 126.4 MB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.4953 GB, free: 3.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4256, allocations: 78.77 MB / 0.5723 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003413/0.429, allocations: 2.158 MB / 0.5744 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.435, allocations: 4.071 MB / 0.5783 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.4352, allocations: 2.75 kB / 0.5783 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.4363, allocations: 183.6 kB / 0.5785 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.4366, allocations: 81.11 kB / 0.5786 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008757/0.4375, allocations: 286.4 kB / 0.5789 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.4381, allocations: 426.8 kB / 0.5793 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4383, allocations: 58.69 kB / 0.5793 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.4385, allocations: 137.3 kB / 0.5795 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.4387, allocations: 155 kB / 0.5796 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.4387, allocations: 21.97 kB / 0.5796 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.4393, allocations: 316.9 kB / 0.5799 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.4395, allocations: 125.2 kB / 0.5801 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.4397, allocations: 159.7 kB / 0.5802 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.4403, allocations: 0.5612 MB / 0.5808 GB, free: 25.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4403, allocations: 1.156 kB / 0.5808 GB, free: 25.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4403, allocations: 5.594 kB / 0.5808 GB, free: 25.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4403, allocations: 0 / 0.5808 GB, free: 25.23 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001342/0.4417, allocations: 0.7922 MB / 0.5815 GB, free: 24.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4417, allocations: 9.875 kB / 0.5815 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.4427, allocations: 183.6 kB / 0.5817 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.4435, allocations: 384.2 kB / 0.5821 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4436, allocations: 18.47 kB / 0.5821 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.4436, allocations: 10 kB / 0.5821 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.4443, allocations: 251.4 kB / 0.5824 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4443, allocations: 7.516 kB / 0.5824 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.4443, allocations: 7.938 kB / 0.5824 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4443, allocations: 0 / 0.5824 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.4453, allocations: 327.5 kB / 0.5827 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.4467, allocations: 0.6838 MB / 0.5834 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.4473, allocations: 222.9 kB / 0.5836 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.4479, allocations: 180.4 kB / 0.5837 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.556e-05/0.4479, allocations: 23.72 kB / 0.5838 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.448, allocations: 36.91 kB / 0.5838 GB, free: 23.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.448, allocations: 1.312 kB / 0.5838 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.001751/0.4497, allocations: 0.5651 MB / 0.5843 GB, free: 22.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4498, allocations: 61.94 kB / 0.5844 GB, free: 22.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.4502, allocations: 438 kB / 0.5848 GB, free: 22.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.4503, allocations: 26.8 kB / 0.5848 GB, free: 22.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4504, allocations: 188.8 kB / 0.585 GB, free: 22.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.4504, allocations: 45.27 kB / 0.5851 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4505, allocations: 49 kB / 0.5851 GB, free: 22.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.4506, allocations: 349 kB / 0.5855 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.4513, allocations: 293.5 kB / 0.5857 GB, free: 21.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.452, allocations: 298.2 kB / 0.586 GB, free: 21.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.4531, allocations: 0.512 MB / 0.5865 GB, free: 21.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4532, allocations: 0 / 0.5865 GB, free: 21.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001437/0.4546, allocations: 0.7175 MB / 0.5872 GB, free: 21.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.4547, allocations: 45 kB / 0.5873 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4547, allocations: 5.453 kB / 0.5873 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4547, allocations: 2.031 kB / 0.5873 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.4552, allocations: 62.39 kB / 0.5873 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4552, allocations: 12.94 kB / 0.5873 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.4556, allocations: 48.98 kB / 0.5874 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.4556, allocations: 8.672 kB / 0.5874 GB, free: 20.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.4558, allocations: 162.7 kB / 0.5875 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.4559, allocations: 35 kB / 0.5876 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.4571, allocations: 446.8 kB / 0.588 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4572, allocations: 1.312 kB / 0.588 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4572, allocations: 5.25 kB / 0.588 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4572, allocations: 0 / 0.588 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.4576, allocations: 369.4 kB / 0.5884 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4576, allocations: 0 / 0.5884 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.458, allocations: 65.95 kB / 0.5884 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.458, allocations: 0 / 0.5884 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.458, allocations: 9.328 kB / 0.5884 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.458, allocations: 1.375 kB / 0.5884 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.458, allocations: 3.938 kB / 0.5884 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.4592, allocations: 0.4966 MB / 0.5889 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4594, allocations: 136.4 kB / 0.5891 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.4594, allocations: 1.438 kB / 0.5891 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.4598, allocations: 36.17 kB / 0.5891 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.4599, allocations: 21.25 kB / 0.5891 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4599, allocations: 6.625 kB / 0.5891 GB, free: 19.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.4602, allocations: 306.3 kB / 0.5894 GB, free: 19.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4602, allocations: 3.938 kB / 0.5894 GB, free: 19.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005728/0.4608, allocations: 135 kB / 0.5895 GB, free: 19.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.4611, allocations: 185.2 kB / 0.5897 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4625, allocations: 0.6774 MB / 0.5904 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4625, allocations: 0 / 0.5904 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005704/0.4631, allocations: 193.2 kB / 0.5906 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4637, allocations: 61.55 kB / 0.5906 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.465, allocations: 0.6964 MB / 0.5913 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.4652, allocations: 0.7944 MB / 0.5921 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.4654, allocations: 57.91 kB / 0.5921 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.4655, allocations: 27.42 kB / 0.5922 GB, free: 17.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4655, allocations: 0 / 0.5922 GB, free: 17.48 MB / 446.1 MB Notification: Performance of Templates: time 0.008036/0.4736, allocations: 5.466 MB / 0.5975 GB, free: 12.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)