Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001385/0.001385, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001522/0.001522, allocations: 217 kB / 24.53 MB, free: 4.012 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.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.92 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3063, allocations: 66.08 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03563/0.3419, allocations: 30.61 MB / 0.5914 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0201/0.362, allocations: 15.68 MB / 0.6067 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.3625, allocations: 11.88 kB / 0.6067 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.3632, allocations: 222.6 kB / 0.6069 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.3638, allocations: 270.4 kB / 0.6072 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.3782, allocations: 5.677 MB / 0.6127 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3795, allocations: 0.8264 MB / 0.6135 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.3799, allocations: 193 kB / 0.6137 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.3918, allocations: 5.517 MB / 0.6191 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.3925, allocations: 247 kB / 0.6193 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3926, allocations: 32 kB / 0.6194 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.4055, allocations: 6.107 MB / 0.6253 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.4057, allocations: 91.67 kB / 0.6254 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.406, allocations: 187.2 kB / 0.6256 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008522/0.4145, allocations: 3.683 MB / 0.6292 GB, free: 14.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4145, allocations: 0 / 0.6292 GB, free: 14.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4145, allocations: 0 / 0.6292 GB, free: 14.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.4145, allocations: 4 kB / 0.6292 GB, free: 14.67 MB / 478.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.00239/0.4169, allocations: 0.9508 MB / 0.6301 GB, free: 13.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.417, allocations: 8.031 kB / 0.6301 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.417, allocations: 8.688 kB / 0.6302 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.853e-05/0.4171, allocations: 62.72 kB / 0.6302 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/0.418, allocations: 120.6 kB / 0.6303 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.4185, allocations: 280.9 kB / 0.6306 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.4185, allocations: 28.88 kB / 0.6306 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.4186, allocations: 27.94 kB / 0.6306 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4197, allocations: 446.1 kB / 0.6311 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4197, allocations: 3.938 kB / 0.6311 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.4197, allocations: 12 kB / 0.6311 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4197, allocations: 8 kB / 0.6311 GB, free: 12.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.4209, allocations: 365.3 kB / 0.6314 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.424, allocations: 2.198 MB / 0.6336 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.425, allocations: 270.3 kB / 0.6338 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.4253, allocations: 88.8 kB / 0.6339 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.4256, allocations: 103.9 kB / 0.634 GB, free: 9.438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4256, allocations: 34.56 kB / 0.6341 GB, free: 9.395 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4256, allocations: 0 / 0.6341 GB, free: 9.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001709/0.4273, allocations: 453.2 kB / 0.6345 GB, free: 8.945 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.4274, allocations: 110.8 kB / 0.6346 GB, free: 8.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.4278, allocations: 328.4 kB / 0.6349 GB, free: 8.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.4278, allocations: 25.7 kB / 0.6349 GB, free: 8.449 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.428, allocations: 215.9 kB / 0.6351 GB, free: 8.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.428, allocations: 35.69 kB / 0.6352 GB, free: 8.195 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4281, allocations: 65.66 kB / 0.6352 GB, free: 8.125 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4283, allocations: 338.8 kB / 0.6356 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.4286, allocations: 79.94 kB / 0.6356 GB, free: 7.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.4289, allocations: 211.3 kB / 0.6358 GB, free: 7.445 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.4296, allocations: 277.5 kB / 0.6361 GB, free: 7.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4296, allocations: 0 / 0.6361 GB, free: 7.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007711/0.4304, allocations: 317 kB / 0.6364 GB, free: 6.809 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4304, allocations: 14.28 kB / 0.6364 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4304, allocations: 4 kB / 0.6364 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.4304, allocations: 7.938 kB / 0.6364 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.4307, allocations: 64.36 kB / 0.6365 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4307, allocations: 15.94 kB / 0.6365 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.4309, allocations: 47.7 kB / 0.6366 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.431, allocations: 19.98 kB / 0.6366 GB, free: 6.641 MB / 478.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.0001744/0.4311, allocations: 155 kB / 0.6367 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.4312, allocations: 31.81 kB / 0.6368 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.4324, allocations: 0.7568 MB / 0.6375 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.4324, allocations: 15.92 kB / 0.6375 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4324, allocations: 3.938 kB / 0.6375 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4324, allocations: 0 / 0.6375 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.433, allocations: 0.5096 MB / 0.638 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.433, allocations: 4 kB / 0.638 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.4332, allocations: 39.95 kB / 0.6381 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4332, allocations: 0 / 0.6381 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4332, allocations: 4 kB / 0.6381 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4332, allocations: 7.938 kB / 0.6381 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4332, allocations: 4 kB / 0.6381 GB, free: 5.055 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.434, allocations: 478.9 kB / 0.6385 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.4341, allocations: 47.56 kB / 0.6386 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.4341, allocations: 27.73 kB / 0.6386 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.4343, allocations: 15.92 kB / 0.6386 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.4344, allocations: 19.97 kB / 0.6386 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4344, allocations: 11.98 kB / 0.6386 GB, free: 4.449 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.4348, allocations: 342.9 kB / 0.639 GB, free: 4.113 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4348, allocations: 0 / 0.639 GB, free: 4.113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002344/0.4372, allocations: 0.8539 MB / 0.6398 GB, free: 3.258 MB / 478.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.004986/0.4422, allocations: 1.891 MB / 0.6417 GB, free: 1.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007378/0.4429, allocations: 272.2 kB / 0.6419 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4429, allocations: 0 / 0.6419 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.4432, allocations: 139.9 kB / 0.642 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.4442, allocations: 187 kB / 0.6422 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.452, allocations: 4.041 MB / 0.6462 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.4526, allocations: 0.8383 MB / 0.647 GB, free: 11.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004446/0.453, allocations: 146.7 kB / 0.6471 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.4532, allocations: 163.4 kB / 0.6473 GB, free: 11.38 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4532, allocations: 0 / 0.6473 GB, free: 11.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07925/0.5325, allocations: 39.49 MB / 0.6858 GB, free: 4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.43, allocations: 7.922 kB / 0.6859 GB, free: 3.992 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.333455133019015] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 13.614172887988389 13.628841485 13.211095326 Calling exit ...