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.00141/0.00141, allocations: 78.34 kB / 19.01 MB, free: 2.859 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.00158/0.00158, allocations: 156.3 kB / 22.25 MB, free: 5.121 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.415/1.415, allocations: 177.2 MB / 202.6 MB, free: 9.262 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.002663/0.002663, allocations: 236.5 kB / 259.2 MB, free: 0.5781 MB / 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.067/1.067, allocations: 138.5 MB / 454.2 MB, free: 2.016 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 104.1 kB / 0.6466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4675, allocations: 95.35 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.192/0.6595, allocations: 142.2 MB / 0.8785 GB, free: 496 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00626/0.6657, allocations: 4.184 MB / 0.8826 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.6661, allocations: 19.81 kB / 0.8826 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.6666, allocations: 127.1 kB / 0.8828 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.6677, allocations: 342.4 kB / 0.8831 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.6685, allocations: 282.9 kB / 0.8834 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.6694, allocations: 0.5691 MB / 0.8839 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.6697, allocations: 161.4 kB / 0.8841 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.6709, allocations: 0.5295 MB / 0.8846 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.6712, allocations: 199.2 kB / 0.8848 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.6713, allocations: 16 kB / 0.8848 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.6715, allocations: 75.94 kB / 0.8849 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.6716, allocations: 99.7 kB / 0.885 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.6717, allocations: 99.53 kB / 0.8851 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.6722, allocations: 308 kB / 0.8853 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6722, allocations: 0 / 0.8853 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6722, allocations: 0 / 0.8853 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.6722, allocations: 0 / 0.8853 GB, free: 9.5 MB / 0.7169 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.0009049/0.6731, allocations: 464.9 kB / 0.8858 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6732, allocations: 9.344 kB / 0.8858 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.774e-05/0.6732, allocations: 39.75 kB / 0.8858 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.6737, allocations: 225.7 kB / 0.8861 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6737, allocations: 12 kB / 0.8861 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.6737, allocations: 16 kB / 0.8861 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.6742, allocations: 269.8 kB / 0.8863 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6742, allocations: 0 / 0.8863 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.6743, allocations: 11.94 kB / 0.8863 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.6743, allocations: 4 kB / 0.8864 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.6746, allocations: 151.8 kB / 0.8865 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.676, allocations: 1.235 MB / 0.8877 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.6764, allocations: 175.7 kB / 0.8879 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6765, allocations: 89.11 kB / 0.888 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.6769, allocations: 43.94 kB / 0.888 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.6769, allocations: 38.5 kB / 0.888 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.6769, allocations: 3.938 kB / 0.888 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006683/0.6776, allocations: 209.3 kB / 0.8882 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6777, allocations: 187.9 kB / 0.8884 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.678, allocations: 207.1 kB / 0.8886 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.678, allocations: 25.7 kB / 0.8886 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.6781, allocations: 168.3 kB / 0.8888 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.6782, allocations: 32.33 kB / 0.8888 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.6782, allocations: 37.66 kB / 0.8889 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6784, allocations: 330.8 kB / 0.8892 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.6785, allocations: 47.95 kB / 0.8892 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.6788, allocations: 214.5 kB / 0.8894 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.6791, allocations: 158.7 kB / 0.8896 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6791, allocations: 256 / 0.8896 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003964/0.6795, allocations: 185.3 kB / 0.8898 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6795, allocations: 7.984 kB / 0.8898 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6795, allocations: 12.16 kB / 0.8898 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.6795, allocations: 4 kB / 0.8898 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6797, allocations: 27.98 kB / 0.8898 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.6797, allocations: 3.938 kB / 0.8898 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.6798, allocations: 23.88 kB / 0.8898 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.6799, allocations: 8 kB / 0.8898 GB, free: 4.477 MB / 0.7169 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.0001395/0.68, allocations: 141.8 kB / 0.89 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.6801, allocations: 23.89 kB / 0.89 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.6805, allocations: 134.6 kB / 0.8901 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6805, allocations: 0 / 0.8901 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6805, allocations: 4 kB / 0.8901 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.6805, allocations: 0 / 0.8901 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008749/0.6814, allocations: 0.6947 MB / 0.8908 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6814, allocations: 3.984 kB / 0.8908 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.6815, allocations: 27.92 kB / 0.8908 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6815, allocations: 12.09 kB / 0.8909 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6815, allocations: 4 kB / 0.8909 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6815, allocations: 0 / 0.8909 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6815, allocations: 0 / 0.8909 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.6821, allocations: 343.4 kB / 0.8912 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.6822, allocations: 23.89 kB / 0.8912 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.6822, allocations: 4.125 kB / 0.8912 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6823, allocations: 12.06 kB / 0.8912 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.6824, allocations: 15.92 kB / 0.8912 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.6824, allocations: 7.984 kB / 0.8912 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001381/0.6825, allocations: 148.6 kB / 0.8914 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.6825, allocations: 0 / 0.8914 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003483/0.6829, allocations: 63.83 kB / 0.8914 GB, free: 2.734 MB / 0.7169 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.0002278/0.6831, allocations: 119.2 kB / 0.8916 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.6835, allocations: 123.9 kB / 0.8917 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6835, allocations: 0 / 0.8917 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6836, allocations: 63.83 kB / 0.8917 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.6841, allocations: 53.41 kB / 0.8918 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.685, allocations: 491.9 kB / 0.8923 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.6852, allocations: 149.8 kB / 0.8924 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.6853, allocations: 45.7 kB / 0.8924 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.6853, allocations: 16.5 kB / 0.8925 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6853, allocations: 0 / 0.8925 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of Templates: time 0.006879/0.6922, allocations: 2.74 MB / 0.8951 GB, free: 14.97 MB / 0.7325 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.3175008576363325] Failed to read output from testmodel.py, exit status != 0: 0.7008000500500202 0.714432801 0.039158838 Calling exit ...