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.001279/0.001279, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001362/0.001362, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.402/1.402, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.00247/0.00247, allocations: 240 kB / 260 MB, free: 424 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 0.931/0.931, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.003317/0.003317, allocations: 107.8 kB / 0.6474 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4851, allocations: 95.35 MB / 0.7405 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1901/0.6752, allocations: 142.2 MB / 0.8793 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006051/0.6813, allocations: 4.195 MB / 0.8834 GB, free: 0 / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.6817, allocations: 11.98 kB / 0.8834 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.6822, allocations: 127 kB / 0.8836 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009278/0.6831, allocations: 342.5 kB / 0.8839 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.684, allocations: 287.2 kB / 0.8842 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.6848, allocations: 0.5689 MB / 0.8847 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.6851, allocations: 157.5 kB / 0.8849 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.6863, allocations: 470.3 kB / 0.8853 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.6866, allocations: 199.2 kB / 0.8855 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.6866, allocations: 16 kB / 0.8855 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.6868, allocations: 79.88 kB / 0.8856 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.687, allocations: 103.7 kB / 0.8857 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.6871, allocations: 95.53 kB / 0.8858 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.6876, allocations: 299.6 kB / 0.8861 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6876, allocations: 4 kB / 0.8861 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6876, allocations: 0 / 0.8861 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.6876, allocations: 0 / 0.8861 GB, free: 13.29 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.0009212/0.6885, allocations: 468.8 kB / 0.8865 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6886, allocations: 13.28 kB / 0.8865 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.6887, allocations: 35.69 kB / 0.8866 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.6891, allocations: 229.7 kB / 0.8868 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6891, allocations: 12 kB / 0.8868 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.6892, allocations: 20 kB / 0.8868 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.6897, allocations: 261.9 kB / 0.8871 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6897, allocations: 11.92 kB / 0.8871 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.6897, allocations: 11.94 kB / 0.8871 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.6897, allocations: 4 kB / 0.8871 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.6901, allocations: 149.1 kB / 0.8872 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.6914, allocations: 1.231 MB / 0.8884 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.6917, allocations: 179.7 kB / 0.8886 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.6919, allocations: 93.05 kB / 0.8887 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.6923, allocations: 43.92 kB / 0.8887 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.6923, allocations: 46.55 kB / 0.8888 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.6923, allocations: 0 / 0.8888 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006362/0.6929, allocations: 201.2 kB / 0.889 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.6931, allocations: 187.9 kB / 0.8892 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.6933, allocations: 203.8 kB / 0.8894 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.6933, allocations: 29.7 kB / 0.8894 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.6935, allocations: 160.2 kB / 0.8895 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.6935, allocations: 35.7 kB / 0.8896 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.6936, allocations: 45.59 kB / 0.8896 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6937, allocations: 330.8 kB / 0.8899 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.6939, allocations: 39.97 kB / 0.89 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.6941, allocations: 222.4 kB / 0.8902 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.6944, allocations: 158.7 kB / 0.8903 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6944, allocations: 0 / 0.8903 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003824/0.6948, allocations: 185.5 kB / 0.8905 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6948, allocations: 4 kB / 0.8905 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6949, allocations: 7.938 kB / 0.8905 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6949, allocations: 3.938 kB / 0.8905 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.695, allocations: 27.98 kB / 0.8905 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.695, allocations: 4 kB / 0.8905 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.6952, allocations: 19.94 kB / 0.8906 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.6952, allocations: 11.94 kB / 0.8906 GB, free: 8.254 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.0002116/0.6954, allocations: 154.5 kB / 0.8907 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6955, allocations: 23.91 kB / 0.8907 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.6959, allocations: 127 kB / 0.8909 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6959, allocations: 0 / 0.8909 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6959, allocations: 7.938 kB / 0.8909 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6959, allocations: 0 / 0.8909 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009398/0.6968, allocations: 0.6986 MB / 0.8916 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6968, allocations: 8.031 kB / 0.8916 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.697, allocations: 19.98 kB / 0.8916 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.697, allocations: 4 kB / 0.8916 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.697, allocations: 3.938 kB / 0.8916 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.697, allocations: 4 kB / 0.8916 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.697, allocations: 0 / 0.8916 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.6976, allocations: 343.5 kB / 0.8919 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.6976, allocations: 23.89 kB / 0.8919 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.6977, allocations: 0 / 0.8919 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6978, allocations: 15.98 kB / 0.892 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.6978, allocations: 7.984 kB / 0.892 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6978, allocations: 4 kB / 0.892 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001605/0.698, allocations: 156.5 kB / 0.8921 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.698, allocations: 0 / 0.8921 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003594/0.6983, allocations: 63.83 kB / 0.8922 GB, free: 6.512 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.000222/0.6986, allocations: 119.2 kB / 0.8923 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.6989, allocations: 119.8 kB / 0.8924 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6989, allocations: 0 / 0.8924 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.6991, allocations: 59.89 kB / 0.8925 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.6996, allocations: 72.22 kB / 0.8925 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.7006, allocations: 495.9 kB / 0.893 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.7008, allocations: 141.8 kB / 0.8931 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.701, allocations: 37.45 kB / 0.8932 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.7011, allocations: 24.44 kB / 0.8932 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7011, allocations: 0 / 0.8932 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of Templates: time 0.007236/0.7083, allocations: 2.742 MB / 0.8959 GB, free: 2.758 MB / 0.7169 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.152204209007323] Failed to read output from testmodel.py, exit status != 0: 0.7172824899898842 0.7399404749999999 0.047138797 Calling exit ...