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.001763/0.001763, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002334/0.002334, allocations: 164.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.002407/0.002407, allocations: 233.7 kB / 259.4 MB, free: 472 kB / 238.1 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 1.07/1.07, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 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.613e-06/1.613e-06, allocations: 0 / 0.6468 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.386e-05, allocations: 5.797 kB / 0.6468 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.481/0.481, allocations: 142.2 MB / 0.7856 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00605/0.4871, allocations: 4.172 MB / 0.7897 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.4873, allocations: 19.81 kB / 0.7897 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.4879, allocations: 127.1 kB / 0.7899 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.489, allocations: 354.1 kB / 0.7902 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.4901, allocations: 313.2 kB / 0.7905 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009708/0.4911, allocations: 0.5533 MB / 0.791 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.4915, allocations: 161.4 kB / 0.7912 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.4929, allocations: 0.5294 MB / 0.7917 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.4933, allocations: 171.5 kB / 0.7919 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.4933, allocations: 23.94 kB / 0.7919 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.4936, allocations: 83.91 kB / 0.792 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.4937, allocations: 87.72 kB / 0.7921 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.4939, allocations: 79.83 kB / 0.7921 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.4944, allocations: 311 kB / 0.7924 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4944, allocations: 0 / 0.7924 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4944, allocations: 0 / 0.7924 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.4944, allocations: 3.844 kB / 0.7924 GB, free: 11.29 MB / 0.6231 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.001131/0.4956, allocations: 480.7 kB / 0.7929 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4956, allocations: 17.33 kB / 0.7929 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.4957, allocations: 27.8 kB / 0.7929 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.4962, allocations: 217.8 kB / 0.7931 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4962, allocations: 12 kB / 0.7931 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.4963, allocations: 24 kB / 0.7932 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.4968, allocations: 258.1 kB / 0.7934 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4968, allocations: 3.938 kB / 0.7934 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4968, allocations: 8 kB / 0.7934 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4968, allocations: 4 kB / 0.7934 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.4973, allocations: 159.7 kB / 0.7936 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.4987, allocations: 1.227 MB / 0.7948 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.499, allocations: 179.7 kB / 0.795 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.4992, allocations: 89.11 kB / 0.795 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.4996, allocations: 47.88 kB / 0.7951 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.4996, allocations: 34.56 kB / 0.7951 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4996, allocations: 0 / 0.7951 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006793/0.5003, allocations: 205.9 kB / 0.7953 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.5004, allocations: 187.9 kB / 0.7955 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5006, allocations: 203.2 kB / 0.7957 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.5007, allocations: 25.7 kB / 0.7957 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.5008, allocations: 164.2 kB / 0.7959 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.5008, allocations: 43.75 kB / 0.7959 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.5009, allocations: 33.67 kB / 0.7959 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5011, allocations: 334.8 kB / 0.7963 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5012, allocations: 47.91 kB / 0.7963 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.5015, allocations: 218.5 kB / 0.7965 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.5018, allocations: 163.3 kB / 0.7967 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5018, allocations: 0 / 0.7967 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003945/0.5022, allocations: 183.9 kB / 0.7968 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5022, allocations: 5.719 kB / 0.7969 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5023, allocations: 4 kB / 0.7969 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5023, allocations: 0 / 0.7969 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5024, allocations: 35.92 kB / 0.7969 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5024, allocations: 7.938 kB / 0.7969 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5026, allocations: 24.09 kB / 0.7969 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.5026, allocations: 8 kB / 0.7969 GB, free: 6.273 MB / 0.6231 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 0.0001652/0.5028, allocations: 149.8 kB / 0.7971 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.5029, allocations: 18.25 kB / 0.7971 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.5032, allocations: 122.8 kB / 0.7972 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5032, allocations: 0 / 0.7972 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5032, allocations: 4 kB / 0.7972 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.5032, allocations: 3.938 kB / 0.7972 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.5041, allocations: 0.7101 MB / 0.7979 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5041, allocations: 4 kB / 0.7979 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.5043, allocations: 19.98 kB / 0.7979 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.5043, allocations: 7.938 kB / 0.7979 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5043, allocations: 0 / 0.7979 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.5043, allocations: 7.938 kB / 0.7979 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5043, allocations: 0 / 0.7979 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.5049, allocations: 327.7 kB / 0.7983 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.5049, allocations: 39.09 kB / 0.7983 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.5049, allocations: 0 / 0.7983 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.5051, allocations: 15.98 kB / 0.7983 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.5051, allocations: 7.984 kB / 0.7983 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.5051, allocations: 4 kB / 0.7983 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001373/0.5053, allocations: 152.6 kB / 0.7985 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.5053, allocations: 2.719 kB / 0.7985 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000365/0.5056, allocations: 63.78 kB / 0.7985 GB, free: 4.543 MB / 0.6231 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.0002368/0.5059, allocations: 135.1 kB / 0.7987 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.5062, allocations: 119.8 kB / 0.7988 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5063, allocations: 0 / 0.7988 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.5064, allocations: 56.66 kB / 0.7988 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.5069, allocations: 69.66 kB / 0.7989 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008371/0.5078, allocations: 446.7 kB / 0.7993 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.5079, allocations: 149.8 kB / 0.7995 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.508, allocations: 36.73 kB / 0.7995 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.5081, allocations: 24.42 kB / 0.7995 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.5081, allocations: 4 kB / 0.7995 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of Templates: time 0.007028/0.5151, allocations: 2.722 MB / 0.8022 GB, free: 0.8555 MB / 0.6231 GB " [Timeout remaining time 659] 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.252476692199707] Failed to read output from testmodel.py, exit status != 0: 0.5235105603933334 0.5378935859999999 0.040283267000000005 Calling exit ...