Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01472/0.01472, allocations: 175.6 kB / 15.12 MB, free: 5.977 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 2.093/2.093, allocations: 194.5 MB / 210.3 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002042/0.002043, allocations: 120.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2592/0.2592, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004757, allocations: 10.69 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 54.88 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.776/7.888, allocations: 2.601 GB / 3.052 GB, free: 66.87 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/7.888, allocations: 92.77 kB / 3.052 GB, free: 66.82 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.872/11.76, allocations: 0.7385 GB / 3.79 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.956e-06/11.76, allocations: 3.281 kB / 3.79 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001412/11.76, allocations: 39.97 kB / 3.79 GB, free: 40.41 MB / 0.4948 GB 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.01317/11.77, allocations: 2.791 MB / 3.793 GB, free: 39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/11.77, allocations: 9.719 kB / 3.793 GB, free: 39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009551/11.78, allocations: 198.4 kB / 3.793 GB, free: 38.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/11.78, allocations: 0.7408 MB / 3.794 GB, free: 38.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/11.79, allocations: 0.9832 MB / 3.795 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/11.79, allocations: 236.8 kB / 3.795 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/11.79, allocations: 122.8 kB / 3.795 GB, free: 38.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/11.8, allocations: 2.279 MB / 3.797 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.157e-05/11.8, allocations: 7.781 kB / 3.797 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/11.8, allocations: 61.31 kB / 3.798 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/11.8, allocations: 54.42 kB / 3.798 GB, free: 37.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008989/11.81, allocations: 2.031 MB / 3.8 GB, free: 37.86 MB / 0.4948 GB 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.0176/11.82, allocations: 10.53 MB / 3.81 GB, free: 30.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005975/11.83, allocations: 1.142 MB / 3.811 GB, free: 30.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07033/11.9, allocations: 19.15 MB / 3.83 GB, free: 20 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/11.9, allocations: 45.72 kB / 3.83 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/11.9, allocations: 116.6 kB / 3.83 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 4.398e-06/11.9, allocations: 0 / 3.83 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.02056/11.92, allocations: 3.834 MB / 3.834 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/11.92, allocations: 166.7 kB / 3.834 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/11.92, allocations: 0.7641 MB / 3.834 GB, free: 18.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000195/11.92, allocations: 46.73 kB / 3.834 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005487/11.92, allocations: 0.6804 MB / 3.835 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/11.93, allocations: 343.2 kB / 3.835 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/11.93, allocations: 35.94 kB / 3.836 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001951/11.93, allocations: 417.1 kB / 3.836 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/11.93, allocations: 478.1 kB / 3.836 GB, free: 18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/11.93, allocations: 1.158 MB / 3.838 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/11.93, allocations: 0.6602 MB / 3.838 GB, free: 17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/11.93, allocations: 10.5 kB / 3.838 GB, free: 17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.006139/11.94, allocations: 1.778 MB / 3.84 GB, free: 16.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00344/11.94, allocations: 8.964 MB / 3.849 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.16e-05/11.94, allocations: 27.03 kB / 3.849 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008765/11.94, allocations: 137.2 kB / 3.849 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/11.95, allocations: 409.7 kB / 3.849 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/11.95, allocations: 1.208 MB / 3.85 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/11.95, allocations: 159.7 kB / 3.851 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/11.95, allocations: 91.06 kB / 3.851 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/11.95, allocations: 3.656 kB / 3.851 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005139/11.95, allocations: 1.645 MB / 3.852 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/11.96, allocations: 24.59 kB / 3.852 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/11.96, allocations: 138.8 kB / 3.852 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/11.96, allocations: 404.9 kB / 3.853 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/11.96, allocations: 1.209 MB / 3.854 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/11.96, allocations: 155.4 kB / 3.854 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/11.96, allocations: 98.72 kB / 3.854 GB, free: 19.5 MB / 0.5105 GB 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.001114/11.96, allocations: 461.2 kB / 3.855 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/11.96, allocations: 119.1 kB / 3.855 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008925/11.97, allocations: 4.821 MB / 3.859 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.683e-05/11.97, allocations: 66.39 kB / 3.86 GB, free: 16.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/11.97, allocations: 0 / 3.86 GB, free: 16.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/11.97, allocations: 23.08 kB / 3.86 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/11.98, allocations: 6.768 MB / 3.866 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/11.98, allocations: 7.641 kB / 3.866 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/11.99, allocations: 228.7 kB / 3.866 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/11.99, allocations: 187.1 kB / 3.867 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/11.99, allocations: 31.66 kB / 3.867 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/11.99, allocations: 1.223 MB / 3.868 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/11.99, allocations: 4.141 kB / 3.868 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00943/12, allocations: 3.997 MB / 3.872 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/12, allocations: 443.3 kB / 3.872 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/12, allocations: 23.94 kB / 3.872 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/12, allocations: 109.5 kB / 3.872 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/12, allocations: 84.67 kB / 3.872 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/12, allocations: 50.5 kB / 3.872 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001412/12, allocations: 0.6135 MB / 3.873 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/12, allocations: 0 / 3.873 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009379/12.01, allocations: 1.603 MB / 3.875 GB, free: 4.336 MB / 0.5105 GB 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.02204/12.04, allocations: 6.437 MB / 3.881 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009245/12.04, allocations: 2.681 MB / 3.883 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/12.04, allocations: 4.5 kB / 3.883 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/12.05, allocations: 1.314 MB / 3.885 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/12.05, allocations: 0.506 MB / 3.885 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8556/12.91, allocations: 165.1 MB / 4.046 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/12.91, allocations: 1.562 MB / 4.048 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004666/12.91, allocations: 1.576 MB / 4.05 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/12.92, allocations: 0.812 MB / 4.05 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/12.92, allocations: 0 / 4.05 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5997/13.52, allocations: 73.78 MB / 4.122 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/13.52, allocations: 268.5 kB / 4.123 GB, free: 73.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.038/19.55, allocations: 0 / 4.123 GB, free: 73.77 MB / 0.5417 GB