Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008956, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.281/0.281, allocations: 38.03 MB / 308.4 MB, free: 10.4 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005029, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09229, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1982/0.2906, allocations: 27.91 MB / 461.9 MB, free: 34.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.3025, allocations: 14.44 MB / 476.3 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.3028, allocations: 10.66 kB / 476.3 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.3033, allocations: 168.6 kB / 476.5 MB, free: 31.98 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.000477/0.3038, allocations: 270 kB / 476.8 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01348/0.3172, allocations: 4.3 MB / 481.1 MB, free: 29.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.3183, allocations: 0.9265 MB / 482 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.3187, allocations: 187.3 kB / 482.2 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.3315, allocations: 8.942 MB / 491.1 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.332, allocations: 225.1 kB / 491.3 MB, free: 28.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.3321, allocations: 18.97 kB / 491.3 MB, free: 28.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.3423, allocations: 5.807 MB / 497.1 MB, free: 26.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3425, allocations: 68.62 kB / 497.2 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.3426, allocations: 96.98 kB / 497.3 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.3477, allocations: 2.458 MB / 499.8 MB, free: 26.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3477, allocations: 0 / 499.8 MB, free: 26.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3478, allocations: 0 / 499.8 MB, free: 26.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3478, allocations: 0 / 499.8 MB, free: 26.36 MB / 382.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.003702/0.3515, allocations: 0.9274 MB / 0.489 GB, free: 25.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3515, allocations: 15.31 kB / 0.489 GB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.3524, allocations: 121.2 kB / 0.4891 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3528, allocations: 318.5 kB / 0.4894 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.3528, allocations: 20.94 kB / 0.4894 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.3528, allocations: 24.28 kB / 0.4894 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.3539, allocations: 475.4 kB / 0.4899 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3539, allocations: 5.312 kB / 0.4899 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.354, allocations: 11.97 kB / 0.4899 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.354, allocations: 6.312 kB / 0.4899 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.355, allocations: 400.5 kB / 0.4903 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.3574, allocations: 2.401 MB / 0.4926 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009148/0.3584, allocations: 302.5 kB / 0.4929 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3586, allocations: 111.9 kB / 0.493 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.359, allocations: 478.9 kB / 0.4935 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.359, allocations: 43.94 kB / 0.4935 GB, free: 22.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.359, allocations: 1.625 kB / 0.4935 GB, free: 22.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001523/0.3605, allocations: 491.8 kB / 0.494 GB, free: 22.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3606, allocations: 109.6 kB / 0.4941 GB, free: 22.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.3609, allocations: 316.3 kB / 0.4944 GB, free: 21.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3609, allocations: 26.73 kB / 0.4944 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.361, allocations: 213 kB / 0.4946 GB, free: 21.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3611, allocations: 44.47 kB / 0.4947 GB, free: 21.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.3611, allocations: 5.094 kB / 0.4947 GB, free: 21.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.3612, allocations: 343.2 kB / 0.495 GB, free: 21.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.3614, allocations: 90.92 kB / 0.4951 GB, free: 21.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.3617, allocations: 220.1 kB / 0.4953 GB, free: 21.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.3619, allocations: 118.9 kB / 0.4954 GB, free: 21.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.362, allocations: 1.094 kB / 0.4954 GB, free: 21.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006328/0.3626, allocations: 332.1 kB / 0.4957 GB, free: 21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3626, allocations: 6.375 kB / 0.4957 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3626, allocations: 3.719 kB / 0.4958 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3627, allocations: 9.906 kB / 0.4958 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.3629, allocations: 69.28 kB / 0.4958 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3629, allocations: 10.61 kB / 0.4958 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3632, allocations: 56.81 kB / 0.4959 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3632, allocations: 11.28 kB / 0.4959 GB, free: 20.95 MB / 382.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_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 initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.3634, allocations: 157 kB / 0.4961 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3634, allocations: 26.31 kB / 0.4961 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3644, allocations: 0.7861 MB / 0.4968 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.3645, allocations: 6.375 kB / 0.4969 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3645, allocations: 0 / 0.4969 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3645, allocations: 5.406 kB / 0.4969 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.365, allocations: 0.5334 MB / 0.4974 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.365, allocations: 1.312 kB / 0.4974 GB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.3652, allocations: 57.7 kB / 0.4974 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3652, allocations: 0 / 0.4974 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3652, allocations: 6.781 kB / 0.4974 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3652, allocations: 0 / 0.4974 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3652, allocations: 1.953 kB / 0.4974 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.3659, allocations: 478.9 kB / 0.4979 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.366, allocations: 181.9 kB / 0.4981 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.3661, allocations: 6.891 kB / 0.4981 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3663, allocations: 25.27 kB / 0.4981 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3663, allocations: 20.95 kB / 0.4981 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3664, allocations: 8.812 kB / 0.4981 GB, free: 19.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003532/0.3667, allocations: 340 kB / 0.4985 GB, free: 19.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3667, allocations: 5.406 kB / 0.4985 GB, free: 19.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004799/0.3715, allocations: 0.8431 MB / 0.4993 GB, free: 19.32 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007682/0.3792, allocations: 0.9877 MB / 0.5002 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008298/0.3801, allocations: 292.9 kB / 0.5005 GB, free: 18.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3801, allocations: 1.125 kB / 0.5005 GB, free: 18.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.3804, allocations: 178 kB / 0.5007 GB, free: 18.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3816, allocations: 171.7 kB / 0.5009 GB, free: 18.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.383, allocations: 1.032 MB / 0.5019 GB, free: 18.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3833, allocations: 0.8399 MB / 0.5027 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.3837, allocations: 133.5 kB / 0.5028 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.3838, allocations: 42.3 kB / 0.5029 GB, free: 17.44 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3838, allocations: 0 / 0.5029 GB, free: 17.44 MB / 382.1 MB Notification: Performance of Templates: time 0.04123/0.425, allocations: 33.83 MB / 0.5359 GB, free: 4.41 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: