Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004379/0.004384, allocations: 366.5 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.817/3.817, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003494/0.003493, allocations: 241.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5076/0.5076, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005995/0.0005996, allocations: 19.8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1329, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03381/0.1668, allocations: 27.77 MB / 0.7072 GB, free: 13.81 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3978/0.5647, allocations: 14.39 MB / 0.7213 GB, free: 13.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.5652, allocations: 16.62 kB / 0.7213 GB, free: 13.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.5661, allocations: 160.6 kB / 0.7214 GB, free: 13.77 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0009809/0.5671, allocations: 264.8 kB / 0.7217 GB, free: 13.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.5854, allocations: 4.3 MB / 0.7259 GB, free: 13.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.587, allocations: 0.9328 MB / 0.7268 GB, free: 13.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.5876, allocations: 186.8 kB / 0.727 GB, free: 13.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0224/0.61, allocations: 8.938 MB / 0.7357 GB, free: 13.58 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006328/0.6107, allocations: 224.8 kB / 0.7359 GB, free: 13.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.232e-05/0.6108, allocations: 9.719 kB / 0.7359 GB, free: 13.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.6286, allocations: 5.81 MB / 0.7416 GB, free: 13.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.6289, allocations: 72.22 kB / 0.7417 GB, free: 13.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.6291, allocations: 88.05 kB / 0.7418 GB, free: 13.33 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006646/0.6357, allocations: 2.449 MB / 0.7442 GB, free: 12.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6358, allocations: 6.906 kB / 0.7442 GB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.6358, allocations: 0 / 0.7442 GB, free: 12.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.6358, allocations: 2.734 kB / 0.7442 GB, free: 12.21 MB / 346.7 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.003849/0.6397, allocations: 0.9322 MB / 0.7451 GB, free: 11.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6398, allocations: 11 kB / 0.7451 GB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.641, allocations: 114.5 kB / 0.7452 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.6416, allocations: 335.3 kB / 0.7455 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.6417, allocations: 23.81 kB / 0.7455 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.6418, allocations: 22.81 kB / 0.7456 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.6434, allocations: 470.6 kB / 0.746 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.6435, allocations: 5.5 kB / 0.746 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.6436, allocations: 16.69 kB / 0.746 GB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.6436, allocations: 7.125 kB / 0.746 GB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.6453, allocations: 391.2 kB / 0.7464 GB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.6485, allocations: 2.279 MB / 0.7486 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.6499, allocations: 277.2 kB / 0.7489 GB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.6503, allocations: 101.1 kB / 0.749 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.6508, allocations: 495.4 kB / 0.7495 GB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.6509, allocations: 30.56 kB / 0.7495 GB, free: 8.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 4.187e-06/0.6509, allocations: 3.844 kB / 0.7495 GB, free: 8.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.002271/0.6532, allocations: 462.7 kB / 0.7499 GB, free: 7.68 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.6532, allocations: 112.5 kB / 0.7501 GB, free: 7.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.6536, allocations: 272.2 kB / 0.7503 GB, free: 7.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.6536, allocations: 29.39 kB / 0.7503 GB, free: 7.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.6538, allocations: 219.2 kB / 0.7505 GB, free: 7.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.6538, allocations: 46.48 kB / 0.7506 GB, free: 7.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.6539, allocations: 4.562 kB / 0.7506 GB, free: 7.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.654, allocations: 336.3 kB / 0.7509 GB, free: 6.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.6543, allocations: 91.62 kB / 0.751 GB, free: 6.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.6548, allocations: 236.9 kB / 0.7512 GB, free: 6.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.6552, allocations: 113.8 kB / 0.7513 GB, free: 6.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.308e-05/0.6553, allocations: 4 kB / 0.7513 GB, free: 6.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001071/0.6564, allocations: 346.6 kB / 0.7517 GB, free: 6.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6564, allocations: 8 kB / 0.7517 GB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6564, allocations: 4 kB / 0.7517 GB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.6565, allocations: 8 kB / 0.7517 GB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.6569, allocations: 74.28 kB / 0.7518 GB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.657, allocations: 15.92 kB / 0.7518 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.6574, allocations: 50.98 kB / 0.7518 GB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.6574, allocations: 12 kB / 0.7518 GB, free: 5.883 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (31): * Single equations (assignments): 31 * 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.0002511/0.6577, allocations: 162 kB / 0.752 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/0.6578, allocations: 29.03 kB / 0.752 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.6597, allocations: 0.7007 MB / 0.7527 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6598, allocations: 4 kB / 0.7527 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6598, allocations: 0 / 0.7527 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.66, allocations: 148.6 kB / 0.7529 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.6601, allocations: 0 / 0.7529 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000531/0.6607, allocations: 36.16 kB / 0.7529 GB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6608, allocations: 21.61 kB / 0.7529 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001242/0.6621, allocations: 440.1 kB / 0.7533 GB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00115/0.6632, allocations: 0.518 MB / 0.7538 GB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004889/0.6638, allocations: 164.1 kB / 0.754 GB, free: 4.098 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003906/0.6642, allocations: 230.3 kB / 0.7542 GB, free: 3.914 MB / 346.7 MB Notification: Performance of Backend: time 7.21e-07/0.6642, allocations: 4 kB / 0.7542 GB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01256/0.6768, allocations: 1.265 MB / 0.7554 GB, free: 2.789 MB / 346.7 MB Notification: Performance of SimCode: time 0.002392/0.6792, allocations: 1.317 MB / 0.7567 GB, free: 1.492 MB / 346.7 MB Notification: Performance of Templates: time 0.09889/0.7782, allocations: 35.24 MB / 0.7912 GB, free: 14.39 MB / 394.7 MB "" Variables in the reference:time,specificEnthalpy.h_out,specificEnthalpy1.h_out Variables in the result:boundary_prescriberho_1.X[1],boundary_prescriberho_1.flowDirection,boundary_prescriberho_1.h,boundary_prescriberho_1.medium.preferredMediumStates,boundary_prescriberho_1.medium.standardOrderComponents,boundary_prescriberho_1.nPorts,boundary_prescriberho_1.p,boundary_prescriberho_2.X[1],boundary_prescriberho_2.flowDirection,boundary_prescriberho_2.h,boundary_prescriberho_2.medium.preferredMediumStates,boundary_prescriberho_2.medium.standardOrderComponents,boundary_prescriberho_2.nPorts,boundary_prescriberho_2.p,boundary_prescriberho_2.ports[1].h_outflow,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,specificEnthalpy.h_out,specificEnthalpy1.allowFlowReversal,specificEnthalpy1.h_out,specificEnthalpy1.m_flow_nominal,specificEnthalpy1.m_flow_small,specificEnthalpy1.port_a_exposesState,specificEnthalpy1.port_b_exposesState,specificEnthalpy1.showDesignFlowDirection,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time