Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.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.TestDensity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",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.01025/0.01025, allocations: 178 kB / 15.12 MB, free: 5.934 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 1.98/1.98, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002059/0.002059, allocations: 120.7 kB / 255.6 MB, free: 11.2 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.3352/0.3352, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 16 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 54.87 MB / 461.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.809/7.913, allocations: 2.597 GB / 3.048 GB, free: 69.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/7.914, allocations: 86.53 kB / 3.048 GB, free: 69.64 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.695/11.61, allocations: 0.663 GB / 3.711 GB, free: 42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.086e-06/11.61, allocations: 2.156 kB / 3.711 GB, free: 42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.804e-05/11.61, allocations: 26.92 kB / 3.711 GB, free: 42 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01016/11.62, allocations: 2.27 MB / 3.713 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/11.62, allocations: 10.36 kB / 3.713 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004896/11.62, allocations: 128.6 kB / 3.713 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008144/11.63, allocations: 0.5668 MB / 3.714 GB, free: 41.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/11.63, allocations: 0.7015 MB / 3.714 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/11.63, allocations: 66.31 kB / 3.714 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/11.63, allocations: 80.12 kB / 3.714 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/11.64, allocations: 1.361 MB / 3.716 GB, free: 40.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/11.64, allocations: 4.969 kB / 3.716 GB, free: 40.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/11.64, allocations: 34.44 kB / 3.716 GB, free: 40.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/11.64, allocations: 21.91 kB / 3.716 GB, free: 40.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005814/11.64, allocations: 1.231 MB / 3.717 GB, free: 40.46 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.009795/11.65, allocations: 5.467 MB / 3.722 GB, free: 36.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/11.66, allocations: 0.8551 MB / 3.723 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2372/11.89, allocations: 60.2 MB / 3.782 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/11.89, allocations: 41.88 kB / 3.782 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001141/11.9, allocations: 121.7 kB / 3.782 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 3.747e-06/11.9, allocations: 2.719 kB / 3.782 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.00851/11.9, allocations: 1.578 MB / 3.784 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/11.9, allocations: 186.7 kB / 3.784 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/11.9, allocations: 488.7 kB / 3.784 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/11.9, allocations: 33.67 kB / 3.784 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/11.91, allocations: 434.1 kB / 3.785 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/11.91, allocations: 200.3 kB / 3.785 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/11.91, allocations: 15.59 kB / 3.785 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001923/11.91, allocations: 375.7 kB / 3.785 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009933/11.91, allocations: 230.9 kB / 3.786 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/11.91, allocations: 0.5472 MB / 3.786 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/11.91, allocations: 306.4 kB / 3.786 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/11.91, allocations: 3.953 kB / 3.786 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003046/11.91, allocations: 0.8904 MB / 3.787 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001532/11.91, allocations: 3.831 MB / 3.791 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/11.91, allocations: 17.73 kB / 3.791 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005795/11.92, allocations: 384.2 kB / 3.791 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/11.92, allocations: 200.5 kB / 3.792 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/11.92, allocations: 1.131 MB / 3.793 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/11.92, allocations: 70.41 kB / 3.793 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/11.92, allocations: 44.34 kB / 3.793 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/11.92, allocations: 6.719 kB / 3.793 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002691/11.93, allocations: 0.748 MB / 3.794 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/11.93, allocations: 10.59 kB / 3.794 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/11.93, allocations: 16.81 kB / 3.794 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/11.93, allocations: 212.2 kB / 3.794 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/11.93, allocations: 23.62 kB / 3.794 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/11.93, allocations: 70.61 kB / 3.794 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/11.93, allocations: 48.81 kB / 3.794 GB, free: 16.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006996/11.93, allocations: 308.8 kB / 3.794 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/11.93, allocations: 78.92 kB / 3.794 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0066/11.94, allocations: 3.555 MB / 3.798 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/11.94, allocations: 49.09 kB / 3.798 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/11.94, allocations: 0 / 3.798 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/11.94, allocations: 6.656 kB / 3.798 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/11.94, allocations: 1.699 MB / 3.799 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/11.94, allocations: 6.859 kB / 3.799 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/11.94, allocations: 130.1 kB / 3.8 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/11.94, allocations: 0.77 MB / 3.8 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/11.94, allocations: 19.22 kB / 3.8 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/11.95, allocations: 1.536 MB / 3.802 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/11.95, allocations: 0 / 3.802 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/11.95, allocations: 2.063 MB / 3.804 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/11.95, allocations: 416 kB / 3.804 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/11.95, allocations: 13.88 kB / 3.804 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/11.95, allocations: 57.16 kB / 3.804 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/11.95, allocations: 55.67 kB / 3.804 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/11.95, allocations: 23.14 kB / 3.804 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001055/11.95, allocations: 0.5257 MB / 3.805 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/11.95, allocations: 0 / 3.805 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006728/11.96, allocations: 1.324 MB / 3.806 GB, free: 13.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01434/11.98, allocations: 4.167 MB / 3.81 GB, free: 28.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004547/11.98, allocations: 1.401 MB / 3.812 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/11.98, allocations: 3 kB / 3.812 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/11.98, allocations: 0.8209 MB / 3.812 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/11.99, allocations: 346.5 kB / 3.813 GB, free: 28.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.868/13.85, allocations: 434.6 MB / 4.237 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007752/13.85, allocations: 1.292 MB / 4.238 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002803/13.86, allocations: 1.131 MB / 4.24 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00088/13.86, allocations: 0.5473 MB / 4.24 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/13.86, allocations: 0 / 4.24 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5308/14.39, allocations: 59.52 MB / 4.298 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/14.39, allocations: 251.7 kB / 4.298 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.187/19.58, allocations: 0 / 4.298 GB, free: 62.44 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat