Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 117.9 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 230.5 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2545/0.2545, allocations: 46.93 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 83.86 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1481, allocations: 66.04 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04072/0.1888, allocations: 30.37 MB / 0.5858 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3373/0.5261, allocations: 15.58 MB / 0.601 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.5265, allocations: 15.12 kB / 0.601 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.5272, allocations: 218.5 kB / 0.6013 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.5278, allocations: 284.4 kB / 0.6015 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02016/0.548, allocations: 5.64 MB / 0.607 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5501, allocations: 0.8242 MB / 0.6078 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.5506, allocations: 196 kB / 0.608 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01553/0.5662, allocations: 5.5 MB / 0.6134 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.5668, allocations: 250.6 kB / 0.6136 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.5669, allocations: 28.75 kB / 0.6137 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01508/0.582, allocations: 6.103 MB / 0.6196 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.5822, allocations: 87.11 kB / 0.6197 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.5827, allocations: 186.2 kB / 0.6199 GB, free: 1.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.5936, allocations: 3.68 MB / 0.6235 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5937, allocations: 0 / 0.6235 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5937, allocations: 4 kB / 0.6235 GB, free: 15.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.5937, allocations: 0 / 0.6235 GB, free: 15.41 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003974/0.5976, allocations: 1.02 MB / 0.6245 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5977, allocations: 9.625 kB / 0.6245 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.672e-05/0.5978, allocations: 63.36 kB / 0.6245 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.5989, allocations: 130.7 kB / 0.6247 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.5995, allocations: 347.8 kB / 0.625 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.5995, allocations: 28.97 kB / 0.625 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.5996, allocations: 21.09 kB / 0.6251 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6007, allocations: 454.4 kB / 0.6255 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6008, allocations: 1.312 kB / 0.6255 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.6008, allocations: 11.78 kB / 0.6255 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.6008, allocations: 10.2 kB / 0.6255 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.6019, allocations: 373.6 kB / 0.6259 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003436/0.6053, allocations: 2.375 MB / 0.6282 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.6064, allocations: 265.9 kB / 0.6284 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.6067, allocations: 93.66 kB / 0.6285 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004811/0.6072, allocations: 481.3 kB / 0.629 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6072, allocations: 40.47 kB / 0.629 GB, free: 10.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.6072, allocations: 0 / 0.629 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001801/0.609, allocations: 454.1 kB / 0.6295 GB, free: 10.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/0.6091, allocations: 109.5 kB / 0.6296 GB, free: 10.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.6095, allocations: 323.9 kB / 0.6299 GB, free: 10.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.6096, allocations: 31.08 kB / 0.6299 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.6097, allocations: 209 kB / 0.6301 GB, free: 9.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.6098, allocations: 50.45 kB / 0.6301 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.6099, allocations: 54.33 kB / 0.6302 GB, free: 9.801 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6101, allocations: 341.7 kB / 0.6305 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.6104, allocations: 81.31 kB / 0.6306 GB, free: 9.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.6108, allocations: 210.1 kB / 0.6308 GB, free: 9.227 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006193/0.6114, allocations: 288.5 kB / 0.6311 GB, free: 8.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.6114, allocations: 2.844 kB / 0.6311 GB, free: 8.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008008/0.6122, allocations: 314.7 kB / 0.6314 GB, free: 8.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6122, allocations: 10.78 kB / 0.6314 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6122, allocations: 3.062 kB / 0.6314 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.6123, allocations: 5.25 kB / 0.6314 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.6125, allocations: 61.64 kB / 0.6315 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.6126, allocations: 18.11 kB / 0.6315 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.6129, allocations: 53.8 kB / 0.6315 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.6129, allocations: 14.69 kB / 0.6315 GB, free: 8.754 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001973/0.6131, allocations: 157.1 kB / 0.6317 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.6132, allocations: 30.31 kB / 0.6317 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.6144, allocations: 0.7332 MB / 0.6324 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.6144, allocations: 10.48 kB / 0.6324 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6144, allocations: 4.562 kB / 0.6324 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6144, allocations: 0 / 0.6324 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006436/0.6151, allocations: 0.5313 MB / 0.633 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6151, allocations: 3.938 kB / 0.633 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.6153, allocations: 48.45 kB / 0.633 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.6153, allocations: 2.938 kB / 0.633 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.6153, allocations: 4 kB / 0.633 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6153, allocations: 0 / 0.633 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6153, allocations: 6.781 kB / 0.633 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.6161, allocations: 465.7 kB / 0.6335 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.6162, allocations: 124.7 kB / 0.6336 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.6163, allocations: 25.31 kB / 0.6336 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.6165, allocations: 12.3 kB / 0.6336 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.6166, allocations: 28.25 kB / 0.6337 GB, free: 7.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.6166, allocations: 7.969 kB / 0.6337 GB, free: 7.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.6171, allocations: 347.3 kB / 0.634 GB, free: 6.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6171, allocations: 1.812 kB / 0.634 GB, free: 6.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00498/0.6221, allocations: 0.8506 MB / 0.6348 GB, free: 6.832 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007426/0.6296, allocations: 1.887 MB / 0.6367 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009331/0.6305, allocations: 260.9 kB / 0.6369 GB, free: 5.645 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6305, allocations: 0 / 0.6369 GB, free: 5.645 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.6308, allocations: 139 kB / 0.6371 GB, free: 5.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6319, allocations: 191.9 kB / 0.6372 GB, free: 5.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/0.6401, allocations: 4.034 MB / 0.6412 GB, free: 2.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.6406, allocations: 0.8461 MB / 0.642 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003731/0.641, allocations: 146.2 kB / 0.6421 GB, free: 1.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.6412, allocations: 155.4 kB / 0.6423 GB, free: 1.41 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6412, allocations: 0 / 0.6423 GB, free: 1.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08621/0.7275, allocations: 39.07 MB / 0.6804 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.11, allocations: 23.22 kB / 0.6805 GB, free: 10.46 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.407736007589847] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.209013887681067 11.223478135 10.626631796 Calling exit ...