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.001086/0.001086, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00131/0.00131, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9029/0.9029, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.001508/0.001508, allocations: 242 kB / 260.2 MB, free: 13.02 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.6843/0.6843, allocations: 138.4 MB / 455.1 MB, free: 30 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.163e-06/1.163e-06, allocations: 0 / 0.6475 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.429e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3964/0.3964, allocations: 142.2 MB / 0.7864 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.3997, allocations: 4.164 MB / 0.7904 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.3999, allocations: 19.88 kB / 0.7905 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.4002, allocations: 127 kB / 0.7906 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006496/0.4009, allocations: 350.1 kB / 0.7909 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.4015, allocations: 312.5 kB / 0.7912 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.4019, allocations: 0.5611 MB / 0.7918 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.4022, allocations: 163.3 kB / 0.7919 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.403, allocations: 0.5216 MB / 0.7924 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.4032, allocations: 179.5 kB / 0.7926 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.4032, allocations: 16 kB / 0.7926 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4033, allocations: 83.88 kB / 0.7927 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.4034, allocations: 95.69 kB / 0.7928 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.4035, allocations: 83.77 kB / 0.7929 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.4038, allocations: 311 kB / 0.7932 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4038, allocations: 3.984 kB / 0.7932 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4038, allocations: 0 / 0.7932 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4038, allocations: 0 / 0.7932 GB, free: 5.535 MB / 0.6198 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.0006299/0.4044, allocations: 471.4 kB / 0.7936 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.4045, allocations: 9.938 kB / 0.7936 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.4045, allocations: 27.8 kB / 0.7936 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.4048, allocations: 237.5 kB / 0.7939 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4048, allocations: 16 kB / 0.7939 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.4049, allocations: 16 kB / 0.7939 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.4051, allocations: 258.7 kB / 0.7941 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4052, allocations: 0 / 0.7941 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4052, allocations: 8 kB / 0.7942 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4052, allocations: 4 kB / 0.7942 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.4054, allocations: 155.7 kB / 0.7943 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.4062, allocations: 1.231 MB / 0.7955 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4064, allocations: 175.5 kB / 0.7957 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.4064, allocations: 93.11 kB / 0.7958 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.4066, allocations: 39.94 kB / 0.7958 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4066, allocations: 43.44 kB / 0.7958 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.4066, allocations: 0 / 0.7958 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003559/0.407, allocations: 217.2 kB / 0.7961 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.407, allocations: 187.9 kB / 0.7962 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4072, allocations: 200 kB / 0.7964 GB, free: 1.898 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4072, allocations: 25.7 kB / 0.7964 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.4073, allocations: 152.3 kB / 0.7966 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4073, allocations: 48.3 kB / 0.7966 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.4073, allocations: 41.66 kB / 0.7967 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.4074, allocations: 326.8 kB / 0.797 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.4075, allocations: 47.89 kB / 0.797 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4076, allocations: 218.4 kB / 0.7972 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4078, allocations: 160.7 kB / 0.7974 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4078, allocations: 0 / 0.7974 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002078/0.408, allocations: 181.3 kB / 0.7976 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.408, allocations: 4.219 kB / 0.7976 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.408, allocations: 8 kB / 0.7976 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.408, allocations: 0 / 0.7976 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.4081, allocations: 35.91 kB / 0.7976 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4081, allocations: 7.938 kB / 0.7976 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.4082, allocations: 21.06 kB / 0.7976 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4082, allocations: 8.047 kB / 0.7977 GB, free: 0.5352 MB / 0.6198 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 8.669e-05/0.4083, allocations: 149.7 kB / 0.7978 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.4083, allocations: 19.89 kB / 0.7978 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.4085, allocations: 124.2 kB / 0.7979 GB, free: 240 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4085, allocations: 4 kB / 0.7979 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4085, allocations: 11.92 kB / 0.7979 GB, free: 224 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4085, allocations: 0 / 0.7979 GB, free: 224 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.409, allocations: 0.6946 MB / 0.7986 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.409, allocations: 4 kB / 0.7986 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.4091, allocations: 23.92 kB / 0.7987 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4091, allocations: 8.156 kB / 0.7987 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4091, allocations: 7.984 kB / 0.7987 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4091, allocations: 7.125 kB / 0.7987 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4091, allocations: 0 / 0.7987 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.4095, allocations: 330.8 kB / 0.799 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.4095, allocations: 38.5 kB / 0.799 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4095, allocations: 3.984 kB / 0.799 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.4096, allocations: 12.06 kB / 0.799 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4096, allocations: 11.98 kB / 0.7991 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.4096, allocations: 4 kB / 0.7991 GB, free: 15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.324e-05/0.4097, allocations: 151.8 kB / 0.7992 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4097, allocations: 0 / 0.7992 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002236/0.4099, allocations: 59.84 kB / 0.7993 GB, free: 14.8 MB / 0.6355 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.0001678/0.4101, allocations: 131.1 kB / 0.7994 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4103, allocations: 119.9 kB / 0.7995 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.4103, allocations: 0 / 0.7995 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.4104, allocations: 59.89 kB / 0.7996 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4107, allocations: 64.56 kB / 0.7996 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.4112, allocations: 484 kB / 0.8001 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.4113, allocations: 149.8 kB / 0.8002 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.4113, allocations: 20.5 kB / 0.8002 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4113, allocations: 0 / 0.8002 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.003282/0.4146, allocations: 3.107 MB / 0.8033 GB, free: 10.68 MB / 0.6355 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.157070368528366] Failed to read output from testmodel.py, exit status != 0: 0.4201207784935832 0.428407223 0.022943073 Calling exit ...