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.001362/0.001362, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001436/0.001436, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.541/1.541, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2374/0.2374, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.002248/0.002248, allocations: 75.88 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1469, allocations: 66.05 MB / 0.5561 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03653/0.1834, allocations: 30.36 MB / 0.5858 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3534/0.5369, allocations: 15.59 MB / 0.601 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.5372, allocations: 15.66 kB / 0.601 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.5379, allocations: 212.6 kB / 0.6012 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006568/0.5386, allocations: 283.7 kB / 0.6015 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01738/0.556, allocations: 5.646 MB / 0.607 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.5574, allocations: 0.8207 MB / 0.6078 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.5578, allocations: 198.8 kB / 0.608 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.5702, allocations: 5.5 MB / 0.6134 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.5708, allocations: 250.7 kB / 0.6136 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.5709, allocations: 29.34 kB / 0.6137 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/0.5859, allocations: 6.098 MB / 0.6196 GB, free: 1.398 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.5861, allocations: 89.45 kB / 0.6197 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.5865, allocations: 185.8 kB / 0.6199 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009967/0.5965, allocations: 3.682 MB / 0.6235 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5965, allocations: 0 / 0.6235 GB, free: 15.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5965, allocations: 1.156 kB / 0.6235 GB, free: 15.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.5965, allocations: 0 / 0.6235 GB, free: 15.42 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.003583/0.6001, allocations: 1.019 MB / 0.6245 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.6001, allocations: 14.3 kB / 0.6245 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.654e-05/0.6001, allocations: 6.469 kB / 0.6245 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.147e-05/0.6002, allocations: 59.48 kB / 0.6245 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.6013, allocations: 127 kB / 0.6247 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.6018, allocations: 348.3 kB / 0.625 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.6019, allocations: 20.25 kB / 0.625 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.6019, allocations: 33.25 kB / 0.6251 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.6031, allocations: 450.8 kB / 0.6255 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6031, allocations: 2.656 kB / 0.6255 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.6031, allocations: 10.62 kB / 0.6255 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.6031, allocations: 11.62 kB / 0.6255 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.6042, allocations: 369.6 kB / 0.6259 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.6076, allocations: 2.383 MB / 0.6282 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.6086, allocations: 263.6 kB / 0.6284 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.6089, allocations: 93 kB / 0.6285 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005159/0.6095, allocations: 482.9 kB / 0.629 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6095, allocations: 42.56 kB / 0.629 GB, free: 10.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.6095, allocations: 4 kB / 0.629 GB, free: 10.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001813/0.6113, allocations: 449.7 kB / 0.6295 GB, free: 10.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.6114, allocations: 108.1 kB / 0.6296 GB, free: 10.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.6118, allocations: 325.5 kB / 0.6299 GB, free: 10.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6119, allocations: 29.7 kB / 0.6299 GB, free: 10.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.6121, allocations: 214.6 kB / 0.6301 GB, free: 9.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.6121, allocations: 44.92 kB / 0.6301 GB, free: 9.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6122, allocations: 51.7 kB / 0.6302 GB, free: 9.805 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.6124, allocations: 345.1 kB / 0.6305 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.6127, allocations: 81.5 kB / 0.6306 GB, free: 9.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.6131, allocations: 207.8 kB / 0.6308 GB, free: 9.227 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.6138, allocations: 283.3 kB / 0.6311 GB, free: 8.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6138, allocations: 1.375 kB / 0.6311 GB, free: 8.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008068/0.6146, allocations: 320.3 kB / 0.6314 GB, free: 8.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6146, allocations: 8.344 kB / 0.6314 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6146, allocations: 2.375 kB / 0.6314 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.6146, allocations: 4.5 kB / 0.6314 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.6149, allocations: 67.23 kB / 0.6315 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.6149, allocations: 9.719 kB / 0.6315 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.6152, allocations: 56.27 kB / 0.6315 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.6153, allocations: 14.81 kB / 0.6315 GB, free: 8.762 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.0002122/0.6155, allocations: 153.8 kB / 0.6317 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.6156, allocations: 31.38 kB / 0.6317 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.6168, allocations: 0.7339 MB / 0.6324 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.6168, allocations: 14.7 kB / 0.6324 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6168, allocations: 0 / 0.6324 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6168, allocations: 0 / 0.6324 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.6174, allocations: 0.5336 MB / 0.633 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6174, allocations: 4.953 kB / 0.633 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.6176, allocations: 47.39 kB / 0.633 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6176, allocations: 0 / 0.633 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.6176, allocations: 6.031 kB / 0.633 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6176, allocations: 3.938 kB / 0.633 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6176, allocations: 2.156 kB / 0.633 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.6184, allocations: 467.5 kB / 0.6335 GB, free: 7.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.6185, allocations: 123.9 kB / 0.6336 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.6185, allocations: 25.34 kB / 0.6336 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.6188, allocations: 20.42 kB / 0.6336 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.6188, allocations: 21.47 kB / 0.6337 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.6188, allocations: 6.5 kB / 0.6337 GB, free: 7.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.6192, allocations: 352.1 kB / 0.634 GB, free: 6.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6192, allocations: 0 / 0.634 GB, free: 6.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003465/0.6227, allocations: 0.8469 MB / 0.6348 GB, free: 6.84 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.006093/0.6288, allocations: 1.893 MB / 0.6367 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.6296, allocations: 257.3 kB / 0.6369 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6296, allocations: 0 / 0.6369 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.6299, allocations: 135 kB / 0.637 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.631, allocations: 198.4 kB / 0.6372 GB, free: 5.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.638, allocations: 4.036 MB / 0.6412 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.6385, allocations: 0.8422 MB / 0.642 GB, free: 1.703 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.6389, allocations: 148.4 kB / 0.6421 GB, free: 1.566 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.6391, allocations: 159.4 kB / 0.6423 GB, free: 1.41 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6391, allocations: 0 / 0.6423 GB, free: 1.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07846/0.7175, allocations: 39.1 MB / 0.6805 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.07, allocations: 15.59 kB / 0.6805 GB, free: 10.44 MB / 0.4981 GB " [Timeout remaining time 649] (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: 14.285275321977679] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.219020914984867 11.233374275 10.63394366 Calling exit ...