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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00174/0.00174, allocations: 193.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 222 MB, free: 4.75 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.4055/0.4055, allocations: 39.94 MB / 309.3 MB, free: 9.648 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.001431/0.001431, allocations: 62.56 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1704, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3968/0.5673, allocations: 30.88 MB / 464.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02887/0.5962, allocations: 16.47 MB / 481.2 MB, free: 27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006219/0.5969, allocations: 14.31 kB / 481.2 MB, free: 27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.598, allocations: 188.6 kB / 481.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.5991, allocations: 248.8 kB / 481.6 MB, free: 26.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02689/0.626, allocations: 4.513 MB / 486.1 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.6284, allocations: 1.088 MB / 487.2 MB, free: 24.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005405/0.629, allocations: 199.1 kB / 487.4 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01884/0.6478, allocations: 5.399 MB / 492.8 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000863/0.6488, allocations: 249.5 kB / 493 MB, free: 21.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.552e-05/0.6489, allocations: 19.3 kB / 493.1 MB, free: 21.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/0.6699, allocations: 5.998 MB / 499.1 MB, free: 20.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.6703, allocations: 73.56 kB / 499.1 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.6709, allocations: 174.7 kB / 499.3 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.6902, allocations: 3.641 MB / 0.4912 GB, free: 19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.6903, allocations: 0.6094 kB / 0.4912 GB, free: 19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6903, allocations: 1.469 kB / 0.4912 GB, free: 19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.6903, allocations: 0 / 0.4912 GB, free: 19 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.007004/0.6973, allocations: 0.9907 MB / 0.4921 GB, free: 18.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.6974, allocations: 8.438 kB / 0.4921 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.6991, allocations: 108 kB / 0.4922 GB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.6999, allocations: 330.1 kB / 0.4925 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.7, allocations: 27.33 kB / 0.4926 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.7001, allocations: 29.34 kB / 0.4926 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.7024, allocations: 454.8 kB / 0.493 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.7025, allocations: 1.344 kB / 0.493 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.7025, allocations: 11.72 kB / 0.493 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.7026, allocations: 6.938 kB / 0.4931 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.7045, allocations: 367.2 kB / 0.4934 GB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005036/0.7096, allocations: 2.379 MB / 0.4957 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.7115, allocations: 280.8 kB / 0.496 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.712, allocations: 107.4 kB / 0.4961 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.7126, allocations: 482.8 kB / 0.4966 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.7126, allocations: 33.22 kB / 0.4966 GB, free: 14.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 4.228e-06/0.7126, allocations: 0 / 0.4966 GB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.002965/0.7156, allocations: 446.7 kB / 0.497 GB, free: 14.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.7157, allocations: 104 kB / 0.4971 GB, free: 14.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.7163, allocations: 327.5 kB / 0.4974 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.7164, allocations: 35.08 kB / 0.4975 GB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.7165, allocations: 206.3 kB / 0.4977 GB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.7166, allocations: 44.75 kB / 0.4977 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.7168, allocations: 53.53 kB / 0.4978 GB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7169, allocations: 338.3 kB / 0.4981 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.7174, allocations: 94.12 kB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.7179, allocations: 210.7 kB / 0.4984 GB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009032/0.7189, allocations: 273.2 kB / 0.4986 GB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.7189, allocations: 5.062 kB / 0.4986 GB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001313/0.7202, allocations: 319.2 kB / 0.4989 GB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.7203, allocations: 8.406 kB / 0.4989 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7203, allocations: 2 kB / 0.4989 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.7203, allocations: 13.41 kB / 0.499 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.7208, allocations: 64.95 kB / 0.499 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.7208, allocations: 8.375 kB / 0.499 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.7214, allocations: 46.31 kB / 0.4991 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.7215, allocations: 15.06 kB / 0.4991 GB, free: 13.38 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_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.0002843/0.7218, allocations: 159.5 kB / 0.4992 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.7219, allocations: 30.78 kB / 0.4993 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.7237, allocations: 0.744 MB / 0.5 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.7238, allocations: 8.062 kB / 0.5 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7238, allocations: 5.297 kB / 0.5 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.7238, allocations: 1.219 kB / 0.5 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7248, allocations: 0.5239 MB / 0.5005 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7249, allocations: 0 / 0.5005 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.7252, allocations: 45.22 kB / 0.5006 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.7253, allocations: 1.344 kB / 0.5006 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.7253, allocations: 7.031 kB / 0.5006 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.7253, allocations: 3.938 kB / 0.5006 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7253, allocations: 5.188 kB / 0.5006 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.7266, allocations: 464.5 kB / 0.501 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.7268, allocations: 114 kB / 0.5011 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7269, allocations: 28.81 kB / 0.5012 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.7273, allocations: 20.38 kB / 0.5012 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.7274, allocations: 22.55 kB / 0.5012 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.7275, allocations: 10.05 kB / 0.5012 GB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00063/0.7281, allocations: 338.7 kB / 0.5015 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7281, allocations: 0 / 0.5015 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006993/0.7351, allocations: 0.843 MB / 0.5024 GB, free: 11.78 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 (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.01205/0.7473, allocations: 1.001 MB / 0.5033 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.7487, allocations: 277.8 kB / 0.5036 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.7487, allocations: 0 / 0.5036 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.7492, allocations: 167.9 kB / 0.5038 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.7509, allocations: 164.1 kB / 0.5039 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.7531, allocations: 0.9931 MB / 0.5049 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.7535, allocations: 0.8437 MB / 0.5057 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000532/0.754, allocations: 146.5 kB / 0.5058 GB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.7541, allocations: 33.02 kB / 0.5059 GB, free: 9.531 MB / 382.1 MB Notification: Performance of SimCode: time 1.041e-06/0.7542, allocations: 0 / 0.5059 GB, free: 9.531 MB / 382.1 MB Notification: Performance of Templates: time 0.05269/0.8069, allocations: 33.41 MB / 0.5385 GB, free: 13.82 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (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)