Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001861/0.001861, allocations: 126.1 kB / 17.84 MB, free: 5.258 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.002279/0.002279, allocations: 200.6 kB / 20.79 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 207.6 MB / 231.2 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3936/0.3936, allocations: 44.23 MB / 327.3 MB, free: 6.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002414/0.002414, allocations: 63.91 kB / 462.9 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3487, allocations: 61.01 MB / 0.5116 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03375/0.3825, allocations: 30.23 MB / 0.5412 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02178/0.4043, allocations: 15.57 MB / 0.5564 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.4047, allocations: 15.88 kB / 0.5564 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.4055, allocations: 226.5 kB / 0.5566 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.4062, allocations: 278.5 kB / 0.5569 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01974/0.4259, allocations: 5.616 MB / 0.5623 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.4277, allocations: 0.8147 MB / 0.5631 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.4281, allocations: 192.5 kB / 0.5633 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01277/0.4409, allocations: 5.485 MB / 0.5687 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.4415, allocations: 250.9 kB / 0.5689 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.4416, allocations: 28 kB / 0.5689 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.4555, allocations: 6.095 MB / 0.5749 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.4557, allocations: 91.66 kB / 0.575 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.456, allocations: 183.2 kB / 0.5752 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00864/0.4647, allocations: 3.652 MB / 0.5787 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4647, allocations: 0 / 0.5787 GB, free: 10.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4647, allocations: 3.938 kB / 0.5787 GB, free: 10.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4647, allocations: 0 / 0.5787 GB, free: 10.02 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.002521/0.4672, allocations: 1.018 MB / 0.5797 GB, free: 8.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4673, allocations: 19.88 kB / 0.5797 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.575e-05/0.4673, allocations: 4.75 kB / 0.5797 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.4674, allocations: 62.73 kB / 0.5798 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.4683, allocations: 108.6 kB / 0.5799 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.469, allocations: 350.7 kB / 0.5802 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.4691, allocations: 24.94 kB / 0.5803 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.4691, allocations: 27.94 kB / 0.5803 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4704, allocations: 454.9 kB / 0.5807 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4704, allocations: 3.938 kB / 0.5807 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.4704, allocations: 12 kB / 0.5807 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4704, allocations: 8 kB / 0.5807 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.4717, allocations: 373.2 kB / 0.5811 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.4752, allocations: 2.384 MB / 0.5834 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4763, allocations: 258.3 kB / 0.5837 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.4766, allocations: 96.78 kB / 0.5838 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/0.4771, allocations: 481.5 kB / 0.5842 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.4772, allocations: 34.56 kB / 0.5843 GB, free: 3.891 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.4772, allocations: 0 / 0.5843 GB, free: 3.891 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001867/0.4791, allocations: 457.1 kB / 0.5847 GB, free: 3.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.4791, allocations: 110.8 kB / 0.5848 GB, free: 3.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.4796, allocations: 316.5 kB / 0.5851 GB, free: 2.984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.4796, allocations: 33.7 kB / 0.5851 GB, free: 2.945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4798, allocations: 208 kB / 0.5853 GB, free: 2.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.4798, allocations: 43.69 kB / 0.5854 GB, free: 2.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4799, allocations: 57.64 kB / 0.5854 GB, free: 2.633 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4801, allocations: 338.8 kB / 0.5858 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.4804, allocations: 87.92 kB / 0.5858 GB, free: 2.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.4808, allocations: 203.3 kB / 0.586 GB, free: 1.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.4814, allocations: 285.4 kB / 0.5863 GB, free: 1.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4814, allocations: 0 / 0.5863 GB, free: 1.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007993/0.4822, allocations: 317.4 kB / 0.5866 GB, free: 1.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4823, allocations: 8.094 kB / 0.5866 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4823, allocations: 4 kB / 0.5866 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.4823, allocations: 11.88 kB / 0.5866 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.4826, allocations: 63.89 kB / 0.5867 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4826, allocations: 4 kB / 0.5867 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.4829, allocations: 43.7 kB / 0.5867 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.4829, allocations: 19.98 kB / 0.5868 GB, free: 1.156 MB / 446.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.0002022/0.4831, allocations: 157.7 kB / 0.5869 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.4832, allocations: 27.81 kB / 0.5869 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.4846, allocations: 0.7486 MB / 0.5877 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4846, allocations: 15.92 kB / 0.5877 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.4846, allocations: 0 / 0.5877 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4846, allocations: 0 / 0.5877 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.4853, allocations: 0.5261 MB / 0.5882 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4853, allocations: 0 / 0.5882 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.4855, allocations: 39.95 kB / 0.5882 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4856, allocations: 4 kB / 0.5882 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4856, allocations: 8 kB / 0.5882 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4856, allocations: 7.938 kB / 0.5883 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4856, allocations: 0 / 0.5883 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008729/0.4865, allocations: 461.9 kB / 0.5887 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.4866, allocations: 124.7 kB / 0.5888 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.81e-05/0.4867, allocations: 23.78 kB / 0.5888 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.4869, allocations: 15.92 kB / 0.5888 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.487, allocations: 19.97 kB / 0.5889 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.487, allocations: 4 kB / 0.5889 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.4875, allocations: 346.9 kB / 0.5892 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4875, allocations: 0 / 0.5892 GB, free: 14.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003108/0.4906, allocations: 0.8461 MB / 0.59 GB, free: 13.69 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.007651/0.4983, allocations: 1.916 MB / 0.5919 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.4995, allocations: 260.7 kB / 0.5921 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.4995, allocations: 4 kB / 0.5922 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.5, allocations: 135.9 kB / 0.5923 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5013, allocations: 185.5 kB / 0.5925 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.5102, allocations: 4.019 MB / 0.5964 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.5108, allocations: 0.8463 MB / 0.5972 GB, free: 6.121 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004236/0.5112, allocations: 138.8 kB / 0.5973 GB, free: 5.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.5114, allocations: 159.4 kB / 0.5975 GB, free: 5.828 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5114, allocations: 0 / 0.5975 GB, free: 5.828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0794/0.5908, allocations: 39.03 MB / 0.6356 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.44, allocations: 15.89 kB / 0.6356 GB, free: 14.71 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.47737729200162] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 11.596455416991375 11.613448919 11.144836453 Calling exit ...