Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009652/0.009653, allocations: 165.5 kB / 15.11 MB, free: 5.984 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 1.648/1.648, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002019/0.002019, allocations: 111.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4691/0.4691, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006508, allocations: 16 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1152, allocations: 48.7 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.852/7.967, allocations: 2.491 GB / 2.893 GB, free: 44.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/7.967, allocations: 85.77 kB / 2.893 GB, free: 44.86 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 3.752/11.72, allocations: 0.7195 GB / 3.612 GB, free: 11.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.176e-06/11.72, allocations: 0 / 3.612 GB, free: 11.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001494/11.72, allocations: 39.98 kB / 3.612 GB, free: 11.73 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.01285/11.73, allocations: 2.705 MB / 3.615 GB, free: 8.965 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/11.73, allocations: 8.031 kB / 3.615 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009703/11.73, allocations: 194 kB / 3.615 GB, free: 8.758 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/11.74, allocations: 0.6968 MB / 3.616 GB, free: 8.059 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/11.75, allocations: 0.9778 MB / 3.617 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/11.75, allocations: 233.3 kB / 3.617 GB, free: 6.781 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/11.75, allocations: 127.9 kB / 3.617 GB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008771/11.76, allocations: 2.286 MB / 3.619 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.928e-05/11.76, allocations: 3.938 kB / 3.619 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/11.76, allocations: 60 kB / 3.619 GB, free: 4.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.111e-05/11.76, allocations: 58.09 kB / 3.619 GB, free: 4.055 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00913/11.77, allocations: 2.025 MB / 3.621 GB, free: 2.02 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3854/12.15, allocations: 10.53 MB / 3.632 GB, free: 19.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/12.16, allocations: 1.141 MB / 3.633 GB, free: 18.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07064/12.23, allocations: 19.07 MB / 3.651 GB, free: 24.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/12.23, allocations: 45.69 kB / 3.651 GB, free: 24.9 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001306/12.23, allocations: 117.5 kB / 3.652 GB, free: 24.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=88): time 6.102e-06/12.23, allocations: 0 / 3.652 GB, free: 24.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02111/12.25, allocations: 3.833 MB / 3.655 GB, free: 24.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/12.25, allocations: 167.9 kB / 3.655 GB, free: 24.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/12.25, allocations: 0.7699 MB / 3.656 GB, free: 23.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/12.25, allocations: 47.64 kB / 3.656 GB, free: 23.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/12.25, allocations: 0.6806 MB / 3.657 GB, free: 23.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/12.25, allocations: 346 kB / 3.657 GB, free: 23.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/12.25, allocations: 31 kB / 3.657 GB, free: 23.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002753/12.25, allocations: 424.7 kB / 3.658 GB, free: 23.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/12.26, allocations: 476.5 kB / 3.658 GB, free: 23.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/12.26, allocations: 1.16 MB / 3.659 GB, free: 22.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/12.26, allocations: 0.65 MB / 3.66 GB, free: 22.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/12.26, allocations: 10.16 kB / 3.66 GB, free: 22.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005962/12.27, allocations: 1.773 MB / 3.662 GB, free: 22.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003213/12.27, allocations: 8.964 MB / 3.67 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.801e-05/12.27, allocations: 22.5 kB / 3.67 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/12.27, allocations: 139.1 kB / 3.671 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/12.27, allocations: 407.5 kB / 3.671 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/12.28, allocations: 1.214 MB / 3.672 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/12.28, allocations: 155.4 kB / 3.672 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/12.28, allocations: 96.66 kB / 3.672 GB, free: 11.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/12.28, allocations: 6.25 kB / 3.672 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005888/12.28, allocations: 1.638 MB / 3.674 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/12.28, allocations: 24.78 kB / 3.674 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/12.29, allocations: 141.5 kB / 3.674 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/12.29, allocations: 404.2 kB / 3.675 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/12.29, allocations: 1.219 MB / 3.676 GB, free: 26.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/12.29, allocations: 157.8 kB / 3.676 GB, free: 26.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003349/12.29, allocations: 88.72 kB / 3.676 GB, free: 26.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001297/12.29, allocations: 461.9 kB / 3.676 GB, free: 26.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/12.3, allocations: 121.4 kB / 3.677 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009809/12.3, allocations: 4.82 MB / 3.681 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/12.3, allocations: 67.88 kB / 3.681 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/12.31, allocations: 0 / 3.681 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/12.31, allocations: 6.094 kB / 3.681 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/12.32, allocations: 6.783 MB / 3.688 GB, free: 25.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/12.32, allocations: 3.547 kB / 3.688 GB, free: 25.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/12.32, allocations: 236.8 kB / 3.688 GB, free: 25.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/12.32, allocations: 184 kB / 3.688 GB, free: 25.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/12.32, allocations: 29.5 kB / 3.688 GB, free: 25.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/12.32, allocations: 1.24 MB / 3.69 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/12.32, allocations: 0 / 3.69 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009685/12.33, allocations: 3.995 MB / 3.693 GB, free: 23.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/12.33, allocations: 443.6 kB / 3.694 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/12.33, allocations: 23.28 kB / 3.694 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002035/12.34, allocations: 106.2 kB / 3.694 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/12.34, allocations: 89.12 kB / 3.694 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/12.34, allocations: 40.3 kB / 3.694 GB, free: 23.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001326/12.34, allocations: 0.6158 MB / 3.695 GB, free: 23.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.41e-07/12.34, allocations: 0 / 3.695 GB, free: 23.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008943/12.35, allocations: 1.597 MB / 3.696 GB, free: 23.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01949/12.37, allocations: 6.385 MB / 3.703 GB, free: 22.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008304/12.38, allocations: 2.674 MB / 3.705 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/12.38, allocations: 3.688 kB / 3.705 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002948/12.38, allocations: 1.315 MB / 3.706 GB, free: 22.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/12.38, allocations: 0.5076 MB / 3.707 GB, free: 22.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8007/13.18, allocations: 162.5 MB / 3.866 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/13.19, allocations: 1.559 MB / 3.867 GB, free: 34.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004937/13.19, allocations: 1.589 MB / 3.869 GB, free: 34.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/13.19, allocations: 0.8082 MB / 3.869 GB, free: 34.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/13.19, allocations: 3.438 kB / 3.869 GB, free: 34.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1986/13.39, allocations: 73.64 MB / 3.941 GB, free: 25.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/13.39, allocations: 261.4 kB / 3.942 GB, free: 25.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.189/19.58, allocations: 4 kB / 3.942 GB, free: 25.3 MB / 490.7 MB