Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.001018/0.001018, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001123/0.001123, allocations: 165 kB / 23.01 MB, free: 1.551 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.9934/0.9934, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.002343/0.002343, allocations: 228.4 kB / 260.2 MB, free: 12.84 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.7176/0.7176, allocations: 138.4 MB / 455.2 MB, free: 1.527 MB / 362.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.942e-05, allocations: 2.312 kB / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3546/0.3547, allocations: 146.1 MB / 0.6978 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3559, allocations: 0.8488 MB / 0.6986 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.356, allocations: 11.88 kB / 0.6986 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.3563, allocations: 79.28 kB / 0.6987 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.357, allocations: 330.3 kB / 0.699 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.3575, allocations: 291.2 kB / 0.6993 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.3579, allocations: 0.5611 MB / 0.6998 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3582, allocations: 161.5 kB / 0.7 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.3585, allocations: 299.1 kB / 0.7003 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3587, allocations: 175.5 kB / 0.7004 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3587, allocations: 16 kB / 0.7004 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3588, allocations: 83.92 kB / 0.7005 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.3589, allocations: 91.7 kB / 0.7006 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.359, allocations: 83.83 kB / 0.7007 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.3592, allocations: 247.1 kB / 0.7009 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3592, allocations: 0 / 0.7009 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3592, allocations: 0 / 0.7009 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3592, allocations: 0 / 0.7009 GB, free: 7.566 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005003/0.3597, allocations: 0.5634 MB / 0.7015 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3598, allocations: 8.75 kB / 0.7015 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.3598, allocations: 44.8 kB / 0.7015 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3601, allocations: 237.9 kB / 0.7018 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3601, allocations: 12.38 kB / 0.7018 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.3601, allocations: 16.56 kB / 0.7018 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3603, allocations: 250.8 kB / 0.702 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3603, allocations: 0 / 0.702 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3604, allocations: 12 kB / 0.702 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3604, allocations: 8 kB / 0.702 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.3605, allocations: 67.77 kB / 0.7021 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006848/0.3611, allocations: 1.684 MB / 0.7038 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.3613, allocations: 194.8 kB / 0.7039 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.3613, allocations: 74.75 kB / 0.704 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.3615, allocations: 31.95 kB / 0.704 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3615, allocations: 49.31 kB / 0.7041 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3615, allocations: 0 / 0.7041 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.000245/0.3618, allocations: 125.5 kB / 0.7042 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3618, allocations: 192 kB / 0.7044 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3619, allocations: 245.8 kB / 0.7046 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3619, allocations: 29.7 kB / 0.7047 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.362, allocations: 218.9 kB / 0.7049 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.362, allocations: 31.7 kB / 0.7049 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.362, allocations: 43.36 kB / 0.7049 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.3621, allocations: 0.5001 MB / 0.7054 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.3621, allocations: 15.94 kB / 0.7054 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.3622, allocations: 204 kB / 0.7056 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.668e-05/0.3623, allocations: 121.4 kB / 0.7058 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3623, allocations: 3.938 kB / 0.7058 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001182/0.3624, allocations: 129.3 kB / 0.7059 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3624, allocations: 4.219 kB / 0.7059 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3624, allocations: 8 kB / 0.7059 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3624, allocations: 0 / 0.7059 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.3625, allocations: 27.98 kB / 0.7059 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3625, allocations: 4 kB / 0.7059 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.3626, allocations: 19.88 kB / 0.7059 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3626, allocations: 8.547 kB / 0.7059 GB, free: 1.926 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 5.226e-05/0.3626, allocations: 164.5 kB / 0.7061 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.3627, allocations: 27.84 kB / 0.7061 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3628, allocations: 83.75 kB / 0.7062 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3628, allocations: 8 kB / 0.7062 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3628, allocations: 0 / 0.7062 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3628, allocations: 4 kB / 0.7062 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.3632, allocations: 0.9182 MB / 0.7071 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3632, allocations: 4 kB / 0.7071 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3633, allocations: 23.92 kB / 0.7071 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3633, allocations: 0 / 0.7071 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3633, allocations: 5.75 kB / 0.7072 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3633, allocations: 4.156 kB / 0.7072 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3633, allocations: 4 kB / 0.7072 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.3635, allocations: 298.7 kB / 0.7074 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.3635, allocations: 27.84 kB / 0.7075 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3635, allocations: 8 kB / 0.7075 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.908e-05/0.3636, allocations: 7.984 kB / 0.7075 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3636, allocations: 15.86 kB / 0.7075 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.3636, allocations: 4 kB / 0.7075 GB, free: 220 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.3637, allocations: 177.2 kB / 0.7077 GB, free: 44 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3637, allocations: 0 / 0.7077 GB, free: 44 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002307/0.3639, allocations: 67.91 kB / 0.7077 GB, free: 15.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.000162/0.3641, allocations: 127 kB / 0.7079 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.3642, allocations: 77.53 kB / 0.7079 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3642, allocations: 0 / 0.7079 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.3642, allocations: 40.3 kB / 0.708 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3645, allocations: 71.61 kB / 0.708 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.3655, allocations: 458.3 kB / 0.7085 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.3655, allocations: 87.97 kB / 0.7086 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.3656, allocations: 40.52 kB / 0.7086 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.3656, allocations: 16.5 kB / 0.7086 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.3656, allocations: 4 kB / 0.7086 GB, free: 15 MB / 0.5261 GB Notification: Performance of Templates: time 0.00442/0.3701, allocations: 2.759 MB / 0.7113 GB, free: 12.36 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.256342398934066]