Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009367/0.0009367, allocations: 81.92 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002478/0.002478, allocations: 244.1 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.776/0.776, allocations: 138.4 MB / 455.5 MB, free: 30.1 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") translateModel(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.06e-05, allocations: 5.688 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.3498/0.3498, allocations: 144.9 MB / 0.697 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.3522, allocations: 1.314 MB / 0.6983 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.3527, allocations: 36.31 kB / 0.6983 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.353, allocations: 165.7 kB / 0.6985 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.3536, allocations: 314.5 kB / 0.6988 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.3545, allocations: 420.7 kB / 0.6992 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3557, allocations: 1.144 MB / 0.7003 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.3563, allocations: 452.9 kB / 0.7007 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3574, allocations: 0.7114 MB / 0.7014 GB, free: 51.69 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.3578, allocations: 329.6 kB / 0.7018 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.3578, allocations: 39.75 kB / 0.7018 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.358, allocations: 82.92 kB / 0.7019 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3582, allocations: 282.4 kB / 0.7021 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3584, allocations: 189.9 kB / 0.7023 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.3588, allocations: 489.6 kB / 0.7028 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3588, allocations: 0 / 0.7028 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3588, allocations: 0 / 0.7028 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3588, allocations: 1.531 kB / 0.7028 GB, free: 51.38 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0006621/0.3595, allocations: 0.8653 MB / 0.7036 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3595, allocations: 11.81 kB / 0.7036 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3596, allocations: 111.8 kB / 0.7038 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.36, allocations: 386.9 kB / 0.7041 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.36, allocations: 43.31 kB / 0.7042 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.3601, allocations: 57.34 kB / 0.7042 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.3605, allocations: 0.5705 MB / 0.7048 GB, free: 50 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3606, allocations: 5.281 kB / 0.7048 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.3606, allocations: 30.72 kB / 0.7048 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.3606, allocations: 30.55 kB / 0.7048 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.3608, allocations: 147.5 kB / 0.705 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.362, allocations: 3.941 MB / 0.7088 GB, free: 46.31 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.362, allocations: 275 kB / 0.7091 GB, free: 45.94 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.3621, allocations: 105.5 kB / 0.7092 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3621, allocations: 9.531 kB / 0.7092 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3621, allocations: 54.48 kB / 0.7093 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.3621, allocations: 0 / 0.7093 GB, free: 45.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002434/0.3624, allocations: 123 kB / 0.7094 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3624, allocations: 292.2 kB / 0.7097 GB, free: 45.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3626, allocations: 314.3 kB / 0.71 GB, free: 45.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3626, allocations: 27.05 kB / 0.71 GB, free: 45.13 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3627, allocations: 358.2 kB / 0.7103 GB, free: 44.85 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.3627, allocations: 36.33 kB / 0.7104 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.3628, allocations: 34.8 kB / 0.7104 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.3628, allocations: 0.5139 MB / 0.7109 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.3628, allocations: 6.578 kB / 0.7109 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.3629, allocations: 194.8 kB / 0.7111 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.3629, allocations: 88.39 kB / 0.7112 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3629, allocations: 5.312 kB / 0.7112 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.463e-05/0.363, allocations: 100.6 kB / 0.7113 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3631, allocations: 8.5 kB / 0.7113 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3631, allocations: 1.031 kB / 0.7113 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3631, allocations: 3.062 kB / 0.7113 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3632, allocations: 28.36 kB / 0.7113 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3632, allocations: 10.16 kB / 0.7113 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.3632, allocations: 10.83 kB / 0.7113 GB, free: 43.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3632, allocations: 9.438 kB / 0.7113 GB, free: 43.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 7.094e-05/0.3633, allocations: 164.6 kB / 0.7115 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.3634, allocations: 36.12 kB / 0.7115 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.3635, allocations: 27.19 kB / 0.7116 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3635, allocations: 4.156 kB / 0.7116 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3635, allocations: 2.719 kB / 0.7116 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3635, allocations: 2.625 kB / 0.7116 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.3641, allocations: 1.494 MB / 0.713 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3641, allocations: 10.69 kB / 0.713 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.3642, allocations: 28.5 kB / 0.7131 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3642, allocations: 7.656 kB / 0.7131 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3642, allocations: 6.219 kB / 0.7131 GB, free: 42.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3642, allocations: 4.219 kB / 0.7131 GB, free: 42.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3642, allocations: 9.781 kB / 0.7131 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.3643, allocations: 314.7 kB / 0.7134 GB, free: 41.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.3644, allocations: 30.5 kB / 0.7134 GB, free: 41.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3644, allocations: 6.75 kB / 0.7134 GB, free: 41.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.517e-05/0.3644, allocations: 5.5 kB / 0.7134 GB, free: 41.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.3645, allocations: 22.16 kB / 0.7134 GB, free: 41.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.3645, allocations: 4.125 kB / 0.7134 GB, free: 41.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.284e-05/0.3645, allocations: 208.1 kB / 0.7136 GB, free: 41.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3645, allocations: 0 / 0.7136 GB, free: 41.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002716/0.3648, allocations: 124.8 kB / 0.7138 GB, free: 41.79 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0001435/0.365, allocations: 127.8 kB / 0.7139 GB, free: 41.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.781e-05/0.3651, allocations: 52.22 kB / 0.7139 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3651, allocations: 0 / 0.7139 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.3651, allocations: 34.12 kB / 0.714 GB, free: 41.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3655, allocations: 105.9 kB / 0.7141 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.3663, allocations: 0.8287 MB / 0.7149 GB, free: 41.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.3664, allocations: 157.6 kB / 0.715 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.17e-05/0.3665, allocations: 27.84 kB / 0.7151 GB, free: 40.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3666, allocations: 139.9 kB / 0.7152 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.3666, allocations: 1.375 kB / 0.7152 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.007356/0.374, allocations: 3.448 MB / 0.7186 GB, free: 40.51 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.973507839720696]