Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001296/0.001296, allocations: 113 kB / 18.49 MB, free: 4.539 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.001416/0.001416, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.545/1.545, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.268/0.268, allocations: 44.91 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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.002087/0.002087, allocations: 67.91 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1418, allocations: 65.42 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03602/0.1778, allocations: 30.38 MB / 0.5821 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3325/0.5103, allocations: 15.58 MB / 0.5973 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.5108, allocations: 16.25 kB / 0.5973 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5119, allocations: 217.5 kB / 0.5975 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.5131, allocations: 277.1 kB / 0.5978 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.5319, allocations: 5.65 MB / 0.6033 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5332, allocations: 0.82 MB / 0.6041 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.5336, allocations: 198.9 kB / 0.6043 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.5468, allocations: 5.505 MB / 0.6097 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.5475, allocations: 247.6 kB / 0.6099 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.5476, allocations: 29.78 kB / 0.6099 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/0.5623, allocations: 6.097 MB / 0.6159 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.5625, allocations: 92.89 kB / 0.616 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/0.563, allocations: 186.9 kB / 0.6162 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.5733, allocations: 3.681 MB / 0.6198 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5733, allocations: 1.562 kB / 0.6198 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.5733, allocations: 0 / 0.6198 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5734, allocations: 0 / 0.6198 GB, free: 0.7383 MB / 446.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.00371/0.5771, allocations: 1.03 MB / 0.6208 GB, free: 0 / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5771, allocations: 9.688 kB / 0.6208 GB, free: 0 / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.568e-05/0.5771, allocations: 7 kB / 0.6208 GB, free: 0 / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.149e-05/0.5772, allocations: 57.64 kB / 0.6208 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5783, allocations: 122.4 kB / 0.621 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.5789, allocations: 350.2 kB / 0.6213 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.5789, allocations: 23 kB / 0.6213 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.5789, allocations: 27.06 kB / 0.6213 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.5802, allocations: 456.2 kB / 0.6218 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5802, allocations: 2.234 kB / 0.6218 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.5802, allocations: 11.56 kB / 0.6218 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.5802, allocations: 6.531 kB / 0.6218 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.5814, allocations: 371.4 kB / 0.6221 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.5848, allocations: 2.383 MB / 0.6245 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.586, allocations: 259.2 kB / 0.6247 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.5863, allocations: 98.91 kB / 0.6248 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005181/0.5868, allocations: 482.3 kB / 0.6253 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5868, allocations: 40.25 kB / 0.6253 GB, free: 12.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.5868, allocations: 0 / 0.6253 GB, free: 12.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001832/0.5886, allocations: 450.9 kB / 0.6257 GB, free: 11.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5888, allocations: 113.7 kB / 0.6259 GB, free: 11.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.5892, allocations: 319.2 kB / 0.6262 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.5892, allocations: 31.52 kB / 0.6262 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.5894, allocations: 210.4 kB / 0.6264 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.5894, allocations: 51.59 kB / 0.6264 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.446e-05/0.5895, allocations: 49.8 kB / 0.6265 GB, free: 11.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5897, allocations: 342.6 kB / 0.6268 GB, free: 11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.59, allocations: 85.56 kB / 0.6269 GB, free: 10.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.5904, allocations: 211.3 kB / 0.6271 GB, free: 10.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.591, allocations: 276.1 kB / 0.6274 GB, free: 10.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.591, allocations: 1.625 kB / 0.6274 GB, free: 10.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007771/0.5918, allocations: 327.1 kB / 0.6277 GB, free: 10.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5918, allocations: 11.69 kB / 0.6277 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5918, allocations: 2.094 kB / 0.6277 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.5918, allocations: 11.33 kB / 0.6277 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.5921, allocations: 58.75 kB / 0.6278 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5921, allocations: 9.734 kB / 0.6278 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.5924, allocations: 53.62 kB / 0.6278 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.5924, allocations: 12.62 kB / 0.6278 GB, free: 10.34 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.0001956/0.5926, allocations: 162.9 kB / 0.628 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.5927, allocations: 28.34 kB / 0.628 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.594, allocations: 0.7391 MB / 0.6287 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.594, allocations: 18.58 kB / 0.6287 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.594, allocations: 0 / 0.6287 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.594, allocations: 7.922 kB / 0.6288 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.5946, allocations: 0.5228 MB / 0.6293 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5946, allocations: 0 / 0.6293 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.5949, allocations: 40.83 kB / 0.6293 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.5949, allocations: 1.375 kB / 0.6293 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.5949, allocations: 9.375 kB / 0.6293 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.5949, allocations: 9.297 kB / 0.6293 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5949, allocations: 0 / 0.6293 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.5957, allocations: 461.8 kB / 0.6298 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.5958, allocations: 123.8 kB / 0.6299 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.5959, allocations: 26.53 kB / 0.6299 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.5961, allocations: 16.83 kB / 0.6299 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.5962, allocations: 19.72 kB / 0.6299 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.5962, allocations: 4.5 kB / 0.6299 GB, free: 8.801 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004237/0.5966, allocations: 347.4 kB / 0.6303 GB, free: 8.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5966, allocations: 6.312 kB / 0.6303 GB, free: 8.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00353/0.6002, allocations: 0.8448 MB / 0.6311 GB, free: 8.441 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.005691/0.6059, allocations: 1.897 MB / 0.633 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000806/0.6067, allocations: 261.3 kB / 0.6332 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6067, allocations: 0 / 0.6332 GB, free: 7.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.607, allocations: 149.5 kB / 0.6334 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.608, allocations: 174.1 kB / 0.6335 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/0.6156, allocations: 4.032 MB / 0.6375 GB, free: 4.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.6162, allocations: 0.847 MB / 0.6383 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.6167, allocations: 148.5 kB / 0.6384 GB, free: 3.527 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.6169, allocations: 167 kB / 0.6386 GB, free: 3.387 MB / 462.1 MB Notification: Performance of SimCode: time 1.714e-06/0.6169, allocations: 0 / 0.6386 GB, free: 3.387 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0838/0.7007, allocations: 39.12 MB / 0.6768 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.58, allocations: 14.8 kB / 0.6768 GB, free: 12.89 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.718854826991446] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.740676884015556 11.765096234 11.186958093 Calling exit ...