Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004167/0.004166, allocations: 349.1 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 4.018/4.018, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003513/0.003513, allocations: 217.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5121/0.5121, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09025, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3228/0.4131, allocations: 27.6 MB / 0.6337 GB, free: 76.28 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.436, allocations: 14.29 MB / 0.6477 GB, free: 66.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.4366, allocations: 15.03 kB / 0.6477 GB, free: 66.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.4375, allocations: 159.4 kB / 0.6478 GB, free: 66.1 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.001111/0.4386, allocations: 267.1 kB / 0.6481 GB, free: 65.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02045/0.4591, allocations: 4.24 MB / 0.6522 GB, free: 62.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.4607, allocations: 0.9309 MB / 0.6531 GB, free: 62.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.4613, allocations: 192.7 kB / 0.6533 GB, free: 62.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02155/0.4829, allocations: 8.833 MB / 0.6619 GB, free: 56.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.4835, allocations: 222.1 kB / 0.6621 GB, free: 56.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.4836, allocations: 12 kB / 0.6622 GB, free: 56.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/0.4986, allocations: 5.759 MB / 0.6678 GB, free: 50.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.4988, allocations: 63.73 kB / 0.6678 GB, free: 50.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.499, allocations: 97.52 kB / 0.6679 GB, free: 50.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005544/0.5046, allocations: 2.436 MB / 0.6703 GB, free: 48.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5046, allocations: 4 kB / 0.6703 GB, free: 48.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5046, allocations: 0 / 0.6703 GB, free: 48.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.5046, allocations: 0 / 0.6703 GB, free: 48.02 MB / 362.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.002858/0.5075, allocations: 0.9349 MB / 0.6712 GB, free: 47.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5076, allocations: 12.03 kB / 0.6712 GB, free: 47.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.5088, allocations: 107.5 kB / 0.6713 GB, free: 46.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.5094, allocations: 329.4 kB / 0.6717 GB, free: 46.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.5094, allocations: 24.56 kB / 0.6717 GB, free: 46.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.5095, allocations: 24 kB / 0.6717 GB, free: 46.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.5111, allocations: 466.9 kB / 0.6721 GB, free: 46.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5111, allocations: 0 / 0.6721 GB, free: 46.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.5112, allocations: 16 kB / 0.6722 GB, free: 46.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5112, allocations: 8 kB / 0.6722 GB, free: 46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.5129, allocations: 389.3 kB / 0.6725 GB, free: 45.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.5158, allocations: 2.293 MB / 0.6748 GB, free: 43.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.5172, allocations: 278.4 kB / 0.675 GB, free: 42.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.5176, allocations: 91.95 kB / 0.6751 GB, free: 42.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/0.5181, allocations: 493.4 kB / 0.6756 GB, free: 42.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5182, allocations: 30.56 kB / 0.6756 GB, free: 42.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 4.168e-06/0.5182, allocations: 0 / 0.6756 GB, free: 42.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.002249/0.5204, allocations: 467.7 kB / 0.6761 GB, free: 41.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.5205, allocations: 111 kB / 0.6762 GB, free: 41.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.5209, allocations: 271.3 kB / 0.6764 GB, free: 41.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.5209, allocations: 29.7 kB / 0.6765 GB, free: 41.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.5211, allocations: 231.2 kB / 0.6767 GB, free: 41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.5211, allocations: 39.55 kB / 0.6767 GB, free: 40.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.5212, allocations: 4 kB / 0.6767 GB, free: 40.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.5212, allocations: 334.8 kB / 0.6771 GB, free: 40.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.5216, allocations: 91.92 kB / 0.6771 GB, free: 40.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.5221, allocations: 232.1 kB / 0.6774 GB, free: 40.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.5226, allocations: 119.9 kB / 0.6775 GB, free: 40.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5226, allocations: 0 / 0.6775 GB, free: 40.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001072/0.5237, allocations: 344.7 kB / 0.6778 GB, free: 39.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.5237, allocations: 8 kB / 0.6778 GB, free: 39.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5237, allocations: 7.938 kB / 0.6778 GB, free: 39.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.5238, allocations: 8 kB / 0.6778 GB, free: 39.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.5242, allocations: 80.48 kB / 0.6779 GB, free: 39.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.5242, allocations: 7.953 kB / 0.6779 GB, free: 39.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.5246, allocations: 47.67 kB / 0.678 GB, free: 39.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.5247, allocations: 19.98 kB / 0.678 GB, free: 39.6 MB / 362.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.0002013/0.5249, allocations: 157.7 kB / 0.6781 GB, free: 39.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.525, allocations: 27.53 kB / 0.6782 GB, free: 39.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.5264, allocations: 0.6914 MB / 0.6788 GB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5265, allocations: 0 / 0.6788 GB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5265, allocations: 3.984 kB / 0.6788 GB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.5267, allocations: 164.3 kB / 0.679 GB, free: 38.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.5268, allocations: 4 kB / 0.679 GB, free: 38.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.5271, allocations: 35.97 kB / 0.679 GB, free: 38.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.5272, allocations: 15.97 kB / 0.679 GB, free: 38.48 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009259/0.5282, allocations: 449 kB / 0.6795 GB, free: 38.04 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000837/0.529, allocations: 0.5197 MB / 0.68 GB, free: 37.5 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003707/0.5294, allocations: 163.9 kB / 0.6801 GB, free: 37.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000297/0.5297, allocations: 239.1 kB / 0.6804 GB, free: 37.11 MB / 362.7 MB Notification: Performance of Backend: time 6.41e-07/0.5297, allocations: 4 kB / 0.6804 GB, free: 37.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007782/0.5375, allocations: 1.26 MB / 0.6816 GB, free: 35.87 MB / 362.7 MB Notification: Performance of SimCode: time 0.00191/0.5395, allocations: 1.319 MB / 0.6829 GB, free: 34.51 MB / 362.7 MB Notification: Performance of Templates: time 0.06575/0.6053, allocations: 35.04 MB / 0.7171 GB, free: 15.76 MB / 378.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