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.001545/0.001545, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001637/0.001637, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.559/1.559, allocations: 230.2 MB / 254.5 MB, free: 15.39 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.2314/0.2314, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.003361/0.003361, allocations: 77 kB / 0.4912 GB, free: 26.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1381, allocations: 65.98 MB / 0.5556 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03774/0.1759, allocations: 30.37 MB / 0.5853 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.1978, allocations: 15.6 MB / 0.6005 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005962/0.1984, allocations: 11.94 kB / 0.6006 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1995, allocations: 222.6 kB / 0.6008 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.2007, allocations: 274.4 kB / 0.601 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01883/0.2195, allocations: 5.641 MB / 0.6065 GB, free: 4.984 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.2209, allocations: 0.8186 MB / 0.6073 GB, free: 4.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.2212, allocations: 196.8 kB / 0.6075 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3553/0.5766, allocations: 5.496 MB / 0.6129 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.5771, allocations: 245.7 kB / 0.6131 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.5772, allocations: 29.22 kB / 0.6132 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/0.5922, allocations: 6.099 MB / 0.6191 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.5924, allocations: 90.7 kB / 0.6192 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/0.5928, allocations: 190.2 kB / 0.6194 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/0.6068, allocations: 3.676 MB / 0.623 GB, free: 9.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6068, allocations: 0.5625 kB / 0.623 GB, free: 9.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6068, allocations: 0 / 0.623 GB, free: 9.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.6068, allocations: 0.5625 kB / 0.623 GB, free: 9.113 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.003925/0.6108, allocations: 1.023 MB / 0.624 GB, free: 8.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6108, allocations: 13.19 kB / 0.624 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.6109, allocations: 67.05 kB / 0.624 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.6119, allocations: 116.7 kB / 0.6242 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.6124, allocations: 347.5 kB / 0.6245 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.6125, allocations: 24.27 kB / 0.6245 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.6125, allocations: 30.12 kB / 0.6245 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.6136, allocations: 454.5 kB / 0.625 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6136, allocations: 8.531 kB / 0.625 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.6136, allocations: 10.56 kB / 0.625 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.6136, allocations: 7.875 kB / 0.625 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.6147, allocations: 368 kB / 0.6253 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.6173, allocations: 2.383 MB / 0.6277 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/0.6182, allocations: 263.7 kB / 0.6279 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.6185, allocations: 95.56 kB / 0.628 GB, free: 6.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.6188, allocations: 482.1 kB / 0.6285 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.6188, allocations: 37.09 kB / 0.6285 GB, free: 5.684 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.6188, allocations: 1.969 kB / 0.6285 GB, free: 5.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001613/0.6204, allocations: 450.7 kB / 0.6289 GB, free: 5.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.6205, allocations: 108.1 kB / 0.629 GB, free: 5.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.6208, allocations: 326 kB / 0.6294 GB, free: 5.395 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.6208, allocations: 29.11 kB / 0.6294 GB, free: 5.363 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6209, allocations: 208.6 kB / 0.6296 GB, free: 5.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.621, allocations: 51.36 kB / 0.6296 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.621, allocations: 56.16 kB / 0.6297 GB, free: 5.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.6211, allocations: 338.1 kB / 0.63 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.6214, allocations: 86 kB / 0.6301 GB, free: 4.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.6217, allocations: 208.3 kB / 0.6303 GB, free: 4.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.6222, allocations: 281.4 kB / 0.6306 GB, free: 4.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6222, allocations: 0.75 kB / 0.6306 GB, free: 4.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006641/0.6228, allocations: 318.6 kB / 0.6309 GB, free: 4.543 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6229, allocations: 9.625 kB / 0.6309 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.6229, allocations: 8.031 kB / 0.6309 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.6229, allocations: 5.969 kB / 0.6309 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.6231, allocations: 64.12 kB / 0.6309 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6231, allocations: 12.97 kB / 0.631 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.6234, allocations: 42.58 kB / 0.631 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.6234, allocations: 17.44 kB / 0.631 GB, free: 4.516 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.0001428/0.6236, allocations: 159.3 kB / 0.6312 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.6236, allocations: 32.62 kB / 0.6312 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009963/0.6246, allocations: 0.7363 MB / 0.6319 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6247, allocations: 6.656 kB / 0.6319 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6247, allocations: 5.281 kB / 0.6319 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6247, allocations: 5.141 kB / 0.6319 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.6252, allocations: 0.5339 MB / 0.6325 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6252, allocations: 0 / 0.6325 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.6253, allocations: 42.31 kB / 0.6325 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6254, allocations: 0 / 0.6325 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.6254, allocations: 5.906 kB / 0.6325 GB, free: 4.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6254, allocations: 5.453 kB / 0.6325 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6254, allocations: 5.281 kB / 0.6325 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.626, allocations: 460.2 kB / 0.6329 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.6261, allocations: 125.8 kB / 0.6331 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.965e-05/0.6262, allocations: 22.88 kB / 0.6331 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.6264, allocations: 14.83 kB / 0.6331 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.6264, allocations: 24.73 kB / 0.6331 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6264, allocations: 4.641 kB / 0.6331 GB, free: 3.707 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003644/0.6268, allocations: 347.9 kB / 0.6335 GB, free: 3.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6268, allocations: 0 / 0.6335 GB, free: 3.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005143/0.6319, allocations: 0.8479 MB / 0.6343 GB, free: 3.523 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.007311/0.6393, allocations: 1.912 MB / 0.6362 GB, free: 18.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007471/0.64, allocations: 257.2 kB / 0.6364 GB, free: 18.69 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.64, allocations: 4 kB / 0.6364 GB, free: 18.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.6403, allocations: 139.3 kB / 0.6365 GB, free: 18.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.6413, allocations: 183.7 kB / 0.6367 GB, free: 18.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.6492, allocations: 4.028 MB / 0.6406 GB, free: 16.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.6497, allocations: 0.8475 MB / 0.6415 GB, free: 16.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.65, allocations: 153.1 kB / 0.6416 GB, free: 16.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.6502, allocations: 158.8 kB / 0.6418 GB, free: 16.12 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6502, allocations: 3.75 kB / 0.6418 GB, free: 16.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/0.7336, allocations: 39.13 MB / 0.68 GB, free: 1.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.22, allocations: 7.031 kB / 0.68 GB, free: 1.484 MB / 494.1 MB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 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.301574440672994] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.320625822991133 11.344054664 10.73232044 Calling exit ...