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.001463/0.001463, allocations: 101.9 kB / 20.48 MB, free: 1.379 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.001676/0.001676, allocations: 214.6 kB / 23.77 MB, free: 4.547 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.526/1.526, allocations: 207.7 MB / 234.6 MB, free: 9.781 MB / 190.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.2547/0.2547, allocations: 44.27 MB / 331.1 MB, free: 9.316 MB / 270.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.002224/0.002224, allocations: 72.98 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1435, allocations: 61.03 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3191/0.4626, allocations: 27.54 MB / 0.5438 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.4801, allocations: 13.79 MB / 0.5573 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.4805, allocations: 18.75 kB / 0.5573 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007732/0.4813, allocations: 199.2 kB / 0.5575 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000734/0.482, allocations: 275.8 kB / 0.5577 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01966/0.5017, allocations: 5.567 MB / 0.5632 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5032, allocations: 0.8289 MB / 0.564 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.5036, allocations: 190 kB / 0.5642 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.5167, allocations: 5.486 MB / 0.5695 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.5174, allocations: 244.8 kB / 0.5697 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.5175, allocations: 29.03 kB / 0.5698 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/0.5315, allocations: 6.064 MB / 0.5757 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.5317, allocations: 87.8 kB / 0.5758 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.5321, allocations: 165.9 kB / 0.5759 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.5439, allocations: 3.648 MB / 0.5795 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.453e-06/0.5439, allocations: 0 / 0.5795 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5439, allocations: 0 / 0.5795 GB, free: 12.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.5439, allocations: 1.062 kB / 0.5795 GB, free: 12.35 MB / 430.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.00465/0.5486, allocations: 0.9402 MB / 0.5804 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.5487, allocations: 9.875 kB / 0.5804 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.368e-05/0.5487, allocations: 6.344 kB / 0.5804 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.736e-05/0.5488, allocations: 63.91 kB / 0.5805 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.5498, allocations: 112 kB / 0.5806 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.5505, allocations: 282.1 kB / 0.5809 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.5505, allocations: 25.62 kB / 0.5809 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.5506, allocations: 27.19 kB / 0.5809 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5519, allocations: 0.5946 MB / 0.5815 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.552, allocations: 0.625 kB / 0.5815 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.552, allocations: 12.34 kB / 0.5815 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.552, allocations: 7.375 kB / 0.5815 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.5531, allocations: 375.1 kB / 0.5819 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.5564, allocations: 1.777 MB / 0.5836 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5575, allocations: 266.3 kB / 0.5839 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.5577, allocations: 94.23 kB / 0.584 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.5581, allocations: 105.8 kB / 0.5841 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.5581, allocations: 36.73 kB / 0.5841 GB, free: 8.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.5581, allocations: 0 / 0.5841 GB, free: 8.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001745/0.5599, allocations: 454 kB / 0.5845 GB, free: 8.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.5599, allocations: 113.2 kB / 0.5846 GB, free: 8.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.5603, allocations: 328.5 kB / 0.585 GB, free: 8.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.5603, allocations: 25.7 kB / 0.585 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5605, allocations: 208.3 kB / 0.5852 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5605, allocations: 41.36 kB / 0.5852 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.442e-05/0.5606, allocations: 57.47 kB / 0.5853 GB, free: 7.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5608, allocations: 340.9 kB / 0.5856 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.5611, allocations: 89.33 kB / 0.5857 GB, free: 7.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.5615, allocations: 256.8 kB / 0.5859 GB, free: 7.285 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/0.5621, allocations: 281.1 kB / 0.5862 GB, free: 7.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5621, allocations: 1.219 kB / 0.5862 GB, free: 7.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007236/0.5628, allocations: 324.2 kB / 0.5865 GB, free: 6.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5628, allocations: 8.531 kB / 0.5865 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5629, allocations: 2.594 kB / 0.5865 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5629, allocations: 5.5 kB / 0.5865 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.5631, allocations: 73.33 kB / 0.5866 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.5632, allocations: 9.281 kB / 0.5866 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.5634, allocations: 44.75 kB / 0.5866 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5635, allocations: 14.2 kB / 0.5867 GB, free: 6.82 MB / 430.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.0001849/0.5637, allocations: 153.8 kB / 0.5868 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.5637, allocations: 31.22 kB / 0.5868 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.5649, allocations: 0.7601 MB / 0.5876 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5649, allocations: 10.64 kB / 0.5876 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5649, allocations: 0 / 0.5876 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5649, allocations: 1.562 kB / 0.5876 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.5655, allocations: 487.9 kB / 0.5881 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5655, allocations: 4 kB / 0.5881 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.5657, allocations: 50.27 kB / 0.5881 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5657, allocations: 0 / 0.5881 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5657, allocations: 7.938 kB / 0.5881 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.5657, allocations: 7.031 kB / 0.5881 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5657, allocations: 0 / 0.5881 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.5664, allocations: 470.4 kB / 0.5886 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.5665, allocations: 46.7 kB / 0.5886 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/0.5666, allocations: 28.25 kB / 0.5886 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.5668, allocations: 18.61 kB / 0.5887 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.5669, allocations: 17.81 kB / 0.5887 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5669, allocations: 9.453 kB / 0.5887 GB, free: 5.422 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004317/0.5673, allocations: 345.8 kB / 0.589 GB, free: 5.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5673, allocations: 0 / 0.589 GB, free: 5.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005422/0.5727, allocations: 0.8472 MB / 0.5898 GB, free: 5.059 MB / 430.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.005925/0.5787, allocations: 1.892 MB / 0.5917 GB, free: 3.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008018/0.5795, allocations: 264.2 kB / 0.5919 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5795, allocations: 4.875 kB / 0.5919 GB, free: 3.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.5797, allocations: 142.5 kB / 0.5921 GB, free: 3.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5808, allocations: 185.2 kB / 0.5923 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007616/0.5885, allocations: 4.026 MB / 0.5962 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.5887, allocations: 236 kB / 0.5964 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003741/0.5891, allocations: 150.4 kB / 0.5966 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.5893, allocations: 159.4 kB / 0.5967 GB, free: 288 kB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5893, allocations: 0 / 0.5967 GB, free: 288 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08104/0.6703, allocations: 39.91 MB / 0.6357 GB, free: 8.336 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.46, allocations: 3.938 kB / 0.6357 GB, free: 8.332 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.581659888033755] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEnthalpy.h_out', 'specificEnthalpy1.h_out'] 14.652529521030374 14.668297263 14.121026631 Calling exit ...