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.001295/0.001295, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001392/0.001392, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.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.002412/0.002412, allocations: 283.1 kB / 309.8 MB, free: 3.477 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.059/1.059, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [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.003242/0.003242, allocations: 105.7 kB / 0.7347 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5427, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2232/0.7659, allocations: 164.8 MB / 0.9887 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006756/0.7727, allocations: 4.596 MB / 0.9932 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.7731, allocations: 11.88 kB / 0.9932 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.7736, allocations: 127.1 kB / 0.9933 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.7746, allocations: 342.4 kB / 0.9936 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.7756, allocations: 282 kB / 0.9939 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.7767, allocations: 0.5574 MB / 0.9945 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005277/0.7772, allocations: 179.9 kB / 0.9946 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.7786, allocations: 474.2 kB / 0.9951 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.779, allocations: 199.2 kB / 0.9953 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.7791, allocations: 16 kB / 0.9953 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.7794, allocations: 83.91 kB / 0.9954 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.7795, allocations: 91.72 kB / 0.9954 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.7797, allocations: 115.4 kB / 0.9956 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.7803, allocations: 302.8 kB / 0.9958 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7803, allocations: 0 / 0.9958 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7803, allocations: 0 / 0.9958 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.7803, allocations: 0 / 0.9958 GB, free: 13.48 MB / 0.7325 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.001085/0.7814, allocations: 0.5468 MB / 0.9964 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7814, allocations: 8.031 kB / 0.9964 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.778e-05/0.7814, allocations: 4 kB / 0.9964 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.268e-05/0.7815, allocations: 58.42 kB / 0.9964 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.7816, allocations: 27.81 kB / 0.9965 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.782, allocations: 287.6 kB / 0.9967 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.7821, allocations: 16 kB / 0.9968 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.7821, allocations: 16 kB / 0.9968 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/0.7826, allocations: 269.8 kB / 0.997 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.7826, allocations: 0 / 0.997 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.7827, allocations: 12 kB / 0.997 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.7827, allocations: 4 kB / 0.9971 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.783, allocations: 151.7 kB / 0.9972 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.7846, allocations: 1.368 MB / 0.9985 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.7849, allocations: 179.6 kB / 0.9987 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.7851, allocations: 97.05 kB / 0.9988 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.7855, allocations: 121 kB / 0.9989 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.7855, allocations: 46.5 kB / 0.999 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.7855, allocations: 0 / 0.999 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006672/0.7862, allocations: 201.9 kB / 0.9991 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.7863, allocations: 191.9 kB / 0.9993 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.7866, allocations: 287 kB / 0.9996 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.7867, allocations: 33.7 kB / 0.9996 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.7868, allocations: 144 kB / 0.9998 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.7868, allocations: 35.69 kB / 0.9998 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.7869, allocations: 33.7 kB / 0.9998 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7871, allocations: 338.8 kB / 1 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7872, allocations: 43.97 kB / 1 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.7874, allocations: 123.5 kB / 1 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.7878, allocations: 158.9 kB / 1 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7878, allocations: 0 / 1 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004446/0.7882, allocations: 197.2 kB / 1.001 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7882, allocations: 8 kB / 1.001 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7882, allocations: 0 / 1.001 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.7883, allocations: 4 kB / 1.001 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.7884, allocations: 31.92 kB / 1.001 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7884, allocations: 4.219 kB / 1.001 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.7886, allocations: 27.88 kB / 1.001 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.7886, allocations: 8 kB / 1.001 GB, free: 8.004 MB / 0.7325 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.0001601/0.7888, allocations: 149.8 kB / 1.001 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.7889, allocations: 31.75 kB / 1.001 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.7893, allocations: 123 kB / 1.001 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.7893, allocations: 4 kB / 1.001 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7893, allocations: 4 kB / 1.001 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.7893, allocations: 4 kB / 1.001 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.7903, allocations: 0.7729 MB / 1.002 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7903, allocations: 4 kB / 1.002 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.7904, allocations: 24.14 kB / 1.002 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.7904, allocations: 4 kB / 1.002 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.7904, allocations: 4 kB / 1.002 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7904, allocations: 7.938 kB / 1.002 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7904, allocations: 4.062 kB / 1.002 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.791, allocations: 351.4 kB / 1.002 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.7912, allocations: 112.9 kB / 1.002 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.7912, allocations: 4 kB / 1.002 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.7913, allocations: 4 kB / 1.002 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.7914, allocations: 19.98 kB / 1.002 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.7914, allocations: 4 kB / 1.002 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002299/0.7916, allocations: 209.9 kB / 1.003 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7916, allocations: 0 / 1.003 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003756/0.792, allocations: 55.94 kB / 1.003 GB, free: 5.984 MB / 0.7325 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.001015/0.793, allocations: 0.8971 MB / 1.003 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.7934, allocations: 123.8 kB / 1.004 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7934, allocations: 0 / 1.004 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.7935, allocations: 55.91 kB / 1.004 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.7943, allocations: 139.9 kB / 1.004 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.7979, allocations: 2.617 MB / 1.006 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.7984, allocations: 0.7558 MB / 1.007 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000174/0.7985, allocations: 54.25 kB / 1.007 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.7986, allocations: 67.41 kB / 1.007 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.7986, allocations: 0 / 1.007 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.8284, allocations: 6.908 MB / 1.014 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.931, allocations: 14.83 kB / 1.014 GB, free: 10.33 MB / 0.7481 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.826735304028261] Failed to read output from testmodel.py, exit status != 0: 9.06160054198699 9.075918555 8.292742461 Calling exit ...