Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00388/0.003885, allocations: 371.2 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.921/3.921, allocations: 388.9 MB / 405.6 MB, free: 47.95 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003544/0.003544, allocations: 232.6 kB / 451 MB, free: 2.426 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8443/0.8443, allocations: 80 MB / 0.5627 GB, free: 5.973 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004985, allocations: 12 kB / 0.6265 GB, free: 4.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.122, allocations: 54.88 MB / 0.6801 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3457/0.4678, allocations: 27.8 MB / 0.7073 GB, free: 69.44 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02528/0.4931, allocations: 16.32 MB / 0.7232 GB, free: 57.95 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006046/0.4938, allocations: 13.75 kB / 0.7232 GB, free: 57.94 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.4947, allocations: 164.1 kB / 0.7234 GB, free: 57.86 MB / 394.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.001059/0.4958, allocations: 267.3 kB / 0.7236 GB, free: 57.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02103/0.5168, allocations: 4.632 MB / 0.7281 GB, free: 55.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.5189, allocations: 0.9486 MB / 0.7291 GB, free: 55.18 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.5196, allocations: 197.1 kB / 0.7293 GB, free: 55.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02464/0.5443, allocations: 8.916 MB / 0.738 GB, free: 53.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007892/0.5451, allocations: 229.5 kB / 0.7382 GB, free: 53.88 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.5453, allocations: 12.72 kB / 0.7382 GB, free: 53.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0196/0.5649, allocations: 6.001 MB / 0.7441 GB, free: 52.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.5652, allocations: 72.36 kB / 0.7441 GB, free: 52.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.5655, allocations: 96.73 kB / 0.7442 GB, free: 52.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.5774, allocations: 2.573 MB / 0.7467 GB, free: 50.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.5775, allocations: 4 kB / 0.7467 GB, free: 50.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.909e-06/0.5775, allocations: 0 / 0.7467 GB, free: 50.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.5776, allocations: 0 / 0.7467 GB, free: 50.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006495/0.5841, allocations: 0.9782 MB / 0.7477 GB, free: 50.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5842, allocations: 13.19 kB / 0.7477 GB, free: 50.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.5897, allocations: 202.3 kB / 0.7479 GB, free: 50.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5908, allocations: 340.8 kB / 0.7482 GB, free: 49.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.5909, allocations: 20.41 kB / 0.7482 GB, free: 49.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-05/0.591, allocations: 24.16 kB / 0.7483 GB, free: 49.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/0.5948, allocations: 0.4928 MB / 0.7487 GB, free: 49.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.5949, allocations: 3.938 kB / 0.7488 GB, free: 49.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-05/0.595, allocations: 12.09 kB / 0.7488 GB, free: 49.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.595, allocations: 10.28 kB / 0.7488 GB, free: 49.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.5992, allocations: 437.4 kB / 0.7492 GB, free: 49.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.6057, allocations: 2.325 MB / 0.7515 GB, free: 46.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.6089, allocations: 335.6 kB / 0.7518 GB, free: 46.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.6096, allocations: 104.8 kB / 0.7519 GB, free: 46.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06649/0.6761, allocations: 15.86 MB / 0.7674 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.6762, allocations: 36.81 kB / 0.7674 GB, free: 29.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.607e-06/0.6762, allocations: 0 / 0.7674 GB, free: 29.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.002782/0.679, allocations: 0.5284 MB / 0.7679 GB, free: 28.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6791, allocations: 102.8 kB / 0.768 GB, free: 28.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.6795, allocations: 279.1 kB / 0.7683 GB, free: 28.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.6795, allocations: 33.7 kB / 0.7683 GB, free: 28.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.6797, allocations: 219.3 kB / 0.7685 GB, free: 27.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.6798, allocations: 51.3 kB / 0.7686 GB, free: 27.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.6798, allocations: 8 kB / 0.7686 GB, free: 27.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.6799, allocations: 338.8 kB / 0.7689 GB, free: 27.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.6803, allocations: 96.5 kB / 0.769 GB, free: 27.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.6808, allocations: 235.9 kB / 0.7692 GB, free: 27.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.6813, allocations: 123.9 kB / 0.7693 GB, free: 27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6813, allocations: 0 / 0.7693 GB, free: 27 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001155/0.6825, allocations: 370.3 kB / 0.7697 GB, free: 26.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6826, allocations: 11.95 kB / 0.7697 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6826, allocations: 4 kB / 0.7697 GB, free: 26.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.6826, allocations: 8 kB / 0.7697 GB, free: 26.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.6831, allocations: 80.33 kB / 0.7698 GB, free: 26.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.6832, allocations: 11.94 kB / 0.7698 GB, free: 26.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.6836, allocations: 47.73 kB / 0.7698 GB, free: 26.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.6836, allocations: 12 kB / 0.7699 GB, free: 26.46 MB / 394.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 (34): * Single equations (assignments): 34 * 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.0002159/0.6839, allocations: 162.5 kB / 0.77 GB, free: 26.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.6839, allocations: 27.62 kB / 0.77 GB, free: 26.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.6858, allocations: 0.9732 MB / 0.771 GB, free: 25.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6858, allocations: 4 kB / 0.771 GB, free: 25.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6858, allocations: 0 / 0.771 GB, free: 25.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.686, allocations: 152.3 kB / 0.7711 GB, free: 25.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.6861, allocations: 4 kB / 0.7711 GB, free: 25.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.6865, allocations: 43.44 kB / 0.7712 GB, free: 25.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6866, allocations: 19.97 kB / 0.7712 GB, free: 25.05 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001262/0.6879, allocations: 0.5192 MB / 0.7717 GB, free: 24.53 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001306/0.6892, allocations: 0.612 MB / 0.7723 GB, free: 23.9 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000462/0.6897, allocations: 208.5 kB / 0.7725 GB, free: 23.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003148/0.69, allocations: 227.2 kB / 0.7727 GB, free: 23.48 MB / 394.7 MB Notification: Performance of Backend: time 5.31e-07/0.69, allocations: 0 / 0.7727 GB, free: 23.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009623/0.6997, allocations: 1.393 MB / 0.7741 GB, free: 22.11 MB / 394.7 MB Notification: Performance of SimCode: time 0.001988/0.7017, allocations: 1.361 MB / 0.7754 GB, free: 20.71 MB / 394.7 MB Notification: Performance of Templates: time 0.07745/0.7792, allocations: 36.98 MB / 0.8115 GB, free: 0 / 410.7 MB "" Variables in the reference:time,specificEntropy.s,specificEntropy1.s 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,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,specificEntropy.s,specificEntropy1.allowFlowReversal,specificEntropy1.m_flow_nominal,specificEntropy1.m_flow_small,specificEntropy1.port_a_exposesState,specificEntropy1.port_b_exposesState,specificEntropy1.s,specificEntropy1.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