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.0008014/0.0008014, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009108/0.0009108, allocations: 170 kB / 23.27 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.9484/0.9484, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.002329/0.002329, allocations: 241.9 kB / 260.5 MB, free: 12.67 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.7181/0.7181, allocations: 138.4 MB / 455.5 MB, free: 30.05 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.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.633e-06/1.633e-06, allocations: 0 / 0.5556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.163e-05, allocations: 6.312 kB / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3818/0.3818, allocations: 143.4 MB / 0.6956 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.383, allocations: 0.8351 MB / 0.6964 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.3832, allocations: 14.16 kB / 0.6964 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3835, allocations: 78.42 kB / 0.6965 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.3841, allocations: 330.2 kB / 0.6968 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.3847, allocations: 300 kB / 0.6971 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000598/0.3853, allocations: 0.5521 MB / 0.6976 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.3856, allocations: 167.4 kB / 0.6978 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.386, allocations: 302.7 kB / 0.6981 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.3862, allocations: 184.2 kB / 0.6983 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.3863, allocations: 15.31 kB / 0.6983 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.3864, allocations: 78.41 kB / 0.6984 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.3865, allocations: 90.12 kB / 0.6984 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.3866, allocations: 82.22 kB / 0.6985 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.387, allocations: 243.1 kB / 0.6987 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.387, allocations: 5.609 kB / 0.6988 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.072e-06/0.387, allocations: 0 / 0.6988 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.387, allocations: 0 / 0.6988 GB, free: 51.46 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005211/0.3875, allocations: 0.5638 MB / 0.6993 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3875, allocations: 15.38 kB / 0.6993 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.3876, allocations: 40.8 kB / 0.6994 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3878, allocations: 228.3 kB / 0.6996 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3878, allocations: 15.31 kB / 0.6996 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.3879, allocations: 23.56 kB / 0.6996 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3881, allocations: 230.5 kB / 0.6998 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3881, allocations: 3.984 kB / 0.6998 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3881, allocations: 6.969 kB / 0.6998 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3881, allocations: 4.281 kB / 0.6998 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.3882, allocations: 61.09 kB / 0.6999 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.3889, allocations: 1.686 MB / 0.7016 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3891, allocations: 191.4 kB / 0.7017 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.3891, allocations: 72.5 kB / 0.7018 GB, free: 48.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.3893, allocations: 32.22 kB / 0.7018 GB, free: 48.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3893, allocations: 50.61 kB / 0.7019 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.3893, allocations: 0 / 0.7019 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0002577/0.3895, allocations: 115.2 kB / 0.702 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3896, allocations: 183.1 kB / 0.7022 GB, free: 48.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3897, allocations: 254 kB / 0.7024 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3897, allocations: 25.7 kB / 0.7024 GB, free: 48.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3898, allocations: 216.9 kB / 0.7026 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3898, allocations: 36.33 kB / 0.7027 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.3899, allocations: 43.84 kB / 0.7027 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.3899, allocations: 0.5016 MB / 0.7032 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.39, allocations: 10.38 kB / 0.7032 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.39, allocations: 210 kB / 0.7034 GB, free: 47.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.5e-05/0.3901, allocations: 109.2 kB / 0.7035 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3901, allocations: 0 / 0.7035 GB, free: 47.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001226/0.3902, allocations: 123.6 kB / 0.7036 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3903, allocations: 10.03 kB / 0.7036 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3903, allocations: 2.469 kB / 0.7036 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3903, allocations: 6 kB / 0.7037 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.3903, allocations: 28.03 kB / 0.7037 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3904, allocations: 2.688 kB / 0.7037 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.3904, allocations: 21.52 kB / 0.7037 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3904, allocations: 11.09 kB / 0.7037 GB, free: 47.21 MB / 0.5573 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 6.416e-05/0.3905, allocations: 168.7 kB / 0.7039 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.3906, allocations: 21.91 kB / 0.7039 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.3907, allocations: 84.38 kB / 0.704 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3907, allocations: 3.156 kB / 0.704 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3907, allocations: 4 kB / 0.704 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3907, allocations: 5.375 kB / 0.704 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.3911, allocations: 0.8749 MB / 0.7048 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3911, allocations: 1.062 kB / 0.7048 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.3912, allocations: 22.73 kB / 0.7049 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3912, allocations: 2.281 kB / 0.7049 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3912, allocations: 8.234 kB / 0.7049 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3912, allocations: 2.281 kB / 0.7049 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3912, allocations: 2.344 kB / 0.7049 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3914, allocations: 291.9 kB / 0.7052 GB, free: 45.92 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.3914, allocations: 26.81 kB / 0.7052 GB, free: 45.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3914, allocations: 4.875 kB / 0.7052 GB, free: 45.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.3915, allocations: 11.16 kB / 0.7052 GB, free: 45.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.3915, allocations: 14.3 kB / 0.7052 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3915, allocations: 6.688 kB / 0.7052 GB, free: 45.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.3916, allocations: 178.8 kB / 0.7054 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3916, allocations: 0 / 0.7054 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000229/0.3918, allocations: 61.8 kB / 0.7054 GB, free: 45.76 MB / 0.5573 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.0001465/0.3919, allocations: 122.5 kB / 0.7056 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.3921, allocations: 71.89 kB / 0.7056 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3921, allocations: 0 / 0.7056 GB, free: 45.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.3921, allocations: 34.2 kB / 0.7057 GB, free: 45.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3924, allocations: 67.14 kB / 0.7057 GB, free: 45.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.393, allocations: 451.7 kB / 0.7062 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.812e-05/0.393, allocations: 93.89 kB / 0.7063 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.676e-05/0.3931, allocations: 23.3 kB / 0.7063 GB, free: 45.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3932, allocations: 123.1 kB / 0.7064 GB, free: 45.16 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.3932, allocations: 4 kB / 0.7064 GB, free: 45.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.005039/0.3982, allocations: 2.991 MB / 0.7093 GB, free: 44.88 MB / 0.5573 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.051382991019636]