Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009425/0.0009426, allocations: 91.61 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.001113/0.001113, 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.813/1.813, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4848/0.4848, allocations: 40 MB / 310.4 MB, free: 10.11 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.2. 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.0006152/0.0006149, allocations: 12 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1681, allocations: 57.96 MB / 436.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3514/0.5196, allocations: 27.91 MB / 464.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.5353, allocations: 14.44 MB / 479.2 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.5359, allocations: 10.5 kB / 479.2 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.5366, allocations: 170.9 kB / 479.3 MB, free: 29.59 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.0006754/0.5373, allocations: 261.5 kB / 479.6 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01836/0.5557, allocations: 4.3 MB / 483.9 MB, free: 27.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.5571, allocations: 0.9364 MB / 484.8 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.5575, allocations: 182.2 kB / 485 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01482/0.5723, allocations: 8.94 MB / 493.9 MB, free: 25.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000608/0.573, allocations: 224.1 kB / 494.2 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.573, allocations: 16.88 kB / 494.2 MB, free: 25.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.587, allocations: 5.808 MB / 500 MB, free: 24.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.5872, allocations: 74.09 kB / 0.4883 GB, free: 24.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.5875, allocations: 87.38 kB / 0.4884 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006833/0.5944, allocations: 2.456 MB / 0.4908 GB, free: 23.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.5944, allocations: 0.5625 kB / 0.4908 GB, free: 23.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5944, allocations: 5.188 kB / 0.4908 GB, free: 23.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.5944, allocations: 0 / 0.4908 GB, free: 23.98 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.005126/0.5996, allocations: 0.9335 MB / 0.4917 GB, free: 23.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.5996, allocations: 13.72 kB / 0.4917 GB, free: 23.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.6007, allocations: 119.1 kB / 0.4919 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.6012, allocations: 313.5 kB / 0.4922 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.6012, allocations: 24.83 kB / 0.4922 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.6013, allocations: 23.98 kB / 0.4922 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6025, allocations: 475.2 kB / 0.4927 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.6025, allocations: 3.812 kB / 0.4927 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.6026, allocations: 9.875 kB / 0.4927 GB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.6026, allocations: 10.66 kB / 0.4927 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.6039, allocations: 391.4 kB / 0.4931 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.6075, allocations: 2.405 MB / 0.4954 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.6088, allocations: 309.5 kB / 0.4957 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.6091, allocations: 102.4 kB / 0.4958 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.6096, allocations: 482.9 kB / 0.4963 GB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.6097, allocations: 40.72 kB / 0.4963 GB, free: 20 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.6097, allocations: 0 / 0.4963 GB, free: 20 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.002041/0.6117, allocations: 493.6 kB / 0.4968 GB, free: 19.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.6118, allocations: 110.2 kB / 0.4969 GB, free: 19.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.6124, allocations: 315.2 kB / 0.4972 GB, free: 19.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.6125, allocations: 30.7 kB / 0.4972 GB, free: 19.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.6126, allocations: 208.7 kB / 0.4974 GB, free: 19.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.6127, allocations: 45.02 kB / 0.4974 GB, free: 19.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.6127, allocations: 1.094 kB / 0.4974 GB, free: 19.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6129, allocations: 342.2 kB / 0.4978 GB, free: 19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.6132, allocations: 99.81 kB / 0.4979 GB, free: 18.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.6136, allocations: 216.3 kB / 0.4981 GB, free: 18.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.6139, allocations: 119.2 kB / 0.4982 GB, free: 18.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.614, allocations: 1.125 kB / 0.4982 GB, free: 18.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008717/0.6148, allocations: 339 kB / 0.4985 GB, free: 18.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.6149, allocations: 5.969 kB / 0.4985 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.6149, allocations: 4.281 kB / 0.4985 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-05/0.615, allocations: 7.234 kB / 0.4985 GB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.6153, allocations: 77.33 kB / 0.4986 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.6153, allocations: 10.41 kB / 0.4986 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.6156, allocations: 49.36 kB / 0.4987 GB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.6157, allocations: 10.56 kB / 0.4987 GB, free: 18.58 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.0002021/0.6159, allocations: 158.9 kB / 0.4988 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.6159, allocations: 30.28 kB / 0.4988 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.6173, allocations: 0.7791 MB / 0.4996 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.6173, allocations: 6.234 kB / 0.4996 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.6173, allocations: 0 / 0.4996 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6173, allocations: 3.938 kB / 0.4996 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.618, allocations: 0.5316 MB / 0.5001 GB, free: 17.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.618, allocations: 0.6094 kB / 0.5001 GB, free: 17.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6182, allocations: 61.25 kB / 0.5002 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.6182, allocations: 1.156 kB / 0.5002 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.6183, allocations: 1.75 kB / 0.5002 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6183, allocations: 4.938 kB / 0.5002 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6183, allocations: 4.688 kB / 0.5002 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.619, allocations: 483 kB / 0.5007 GB, free: 17.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.6193, allocations: 185.5 kB / 0.5008 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.6194, allocations: 1.766 kB / 0.5008 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.6197, allocations: 30.19 kB / 0.5009 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.6198, allocations: 16.66 kB / 0.5009 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.6198, allocations: 12.48 kB / 0.5009 GB, free: 17.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.6202, allocations: 336.2 kB / 0.5012 GB, free: 17.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.6203, allocations: 1.125 kB / 0.5012 GB, free: 17.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007073/0.6273, allocations: 0.8475 MB / 0.5021 GB, free: 16.95 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.007927/0.6353, allocations: 0.9782 MB / 0.503 GB, free: 16.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.6363, allocations: 301 kB / 0.5033 GB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.6364, allocations: 1.125 kB / 0.5033 GB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.6367, allocations: 175.8 kB / 0.5035 GB, free: 16.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6379, allocations: 180.6 kB / 0.5036 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.6396, allocations: 1.029 MB / 0.5046 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.6399, allocations: 0.8474 MB / 0.5055 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.6403, allocations: 137.3 kB / 0.5056 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.6404, allocations: 30.69 kB / 0.5056 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6404, allocations: 0 / 0.5056 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Templates: time 0.05101/0.6914, allocations: 33.83 MB / 0.5387 GB, free: 32 kB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: