Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008312/0.0008311, allocations: 88.78 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.183/0.183, allocations: 45.14 MB / 389.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.726e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09874, allocations: 63.24 MB / 0.5114 GB, free: 6.734 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.441/5.539, allocations: 2.824 GB / 3.336 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/5.54, allocations: 71.97 kB / 3.336 GB, free: 18.43 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308: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 2.479/8.019, allocations: 0.7565 GB / 4.092 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.323e-06/8.019, allocations: 0 / 4.092 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.989e-05/8.019, allocations: 39.27 kB / 4.092 GB, free: 50.66 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.009282/8.028, allocations: 2.735 MB / 4.095 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/8.028, allocations: 13.78 kB / 4.095 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003554/8.029, allocations: 168 kB / 4.095 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/8.033, allocations: 0.6006 MB / 4.096 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/8.035, allocations: 1.076 MB / 4.097 GB, free: 48.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/8.036, allocations: 97.45 kB / 4.097 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/8.036, allocations: 108.7 kB / 4.097 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/8.04, allocations: 2.258 MB / 4.099 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/8.04, allocations: 2.906 kB / 4.099 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/8.04, allocations: 48.89 kB / 4.099 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.362e-05/8.04, allocations: 83 kB / 4.099 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/8.044, allocations: 2.269 MB / 4.102 GB, free: 48.52 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.009782/8.054, allocations: 9.197 MB / 4.111 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003204/8.057, allocations: 1.752 MB / 4.112 GB, free: 43.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/8.058, allocations: 0.6866 MB / 4.113 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03824/8.096, allocations: 27.08 MB / 4.139 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/8.096, allocations: 49.78 kB / 4.139 GB, free: 25.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/8.098, allocations: 208.4 kB / 4.14 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 3.106e-06/8.098, allocations: 7.75 kB / 4.14 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.006713/8.104, allocations: 2.601 MB / 4.142 GB, free: 25.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/8.104, allocations: 223 kB / 4.142 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009584/8.105, allocations: 0.825 MB / 4.143 GB, free: 24.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.185e-05/8.105, allocations: 43.2 kB / 4.143 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/8.106, allocations: 0.563 MB / 4.144 GB, free: 24.65 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/8.106, allocations: 372.1 kB / 4.144 GB, free: 24.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/8.106, allocations: 26.22 kB / 4.144 GB, free: 24.41 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/8.106, allocations: 360.7 kB / 4.145 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/8.107, allocations: 0.5508 MB / 4.145 GB, free: 24.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/8.108, allocations: 0.9083 MB / 4.146 GB, free: 23.69 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/8.109, allocations: 0.6691 MB / 4.147 GB, free: 23.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/8.109, allocations: 1.781 kB / 4.147 GB, free: 23.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002466/8.111, allocations: 1.861 MB / 4.148 GB, free: 23.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005636/8.112, allocations: 3.751 MB / 4.152 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/8.112, allocations: 9.906 kB / 4.152 GB, free: 19.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02804/8.14, allocations: 3.009 MB / 4.155 GB, free: 19.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/8.141, allocations: 279 kB / 4.155 GB, free: 19.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/8.143, allocations: 1.393 MB / 4.157 GB, free: 18.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/8.144, allocations: 143 kB / 4.157 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/8.145, allocations: 77.27 kB / 4.157 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/8.145, allocations: 11.8 kB / 4.157 GB, free: 18.89 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002977/8.148, allocations: 1.583 MB / 4.158 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/8.148, allocations: 13.05 kB / 4.158 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/8.148, allocations: 190.5 kB / 4.159 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/8.15, allocations: 352.7 kB / 4.159 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007054/8.15, allocations: 0.7399 MB / 4.16 GB, free: 18.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/8.152, allocations: 142.6 kB / 4.16 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/8.152, allocations: 74.53 kB / 4.16 GB, free: 18.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.000405/8.153, allocations: 180.5 kB / 4.16 GB, free: 18.19 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/8.153, allocations: 130.9 kB / 4.16 GB, free: 18.13 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/8.159, allocations: 5.502 MB / 4.166 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/8.159, allocations: 52.03 kB / 4.166 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/8.159, allocations: 3.812 kB / 4.166 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/8.159, allocations: 7.594 kB / 4.166 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/8.166, allocations: 7.539 MB / 4.173 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/8.166, allocations: 0 / 4.173 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/8.167, allocations: 211.9 kB / 4.173 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02175/8.189, allocations: 4.315 MB / 4.177 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/8.189, allocations: 38.14 kB / 4.177 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/8.191, allocations: 2.338 MB / 4.18 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/8.191, allocations: 7.938 kB / 4.18 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/8.195, allocations: 3.499 MB / 4.183 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/8.196, allocations: 0.6445 MB / 4.184 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/8.196, allocations: 27.89 kB / 4.184 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/8.198, allocations: 131.8 kB / 4.184 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/8.198, allocations: 102.7 kB / 4.184 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/8.198, allocations: 47.19 kB / 4.184 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001154/8.199, allocations: 1.039 MB / 4.185 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/8.199, allocations: 0 / 4.185 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006681/8.206, allocations: 1.965 MB / 4.187 GB, free: 6.68 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/8.217, allocations: 5.797 MB / 4.193 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004832/8.222, allocations: 2.771 MB / 4.195 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/8.222, allocations: 0 / 4.195 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/8.224, allocations: 1.379 MB / 4.197 GB, free: 13.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/8.227, allocations: 0.6904 MB / 4.197 GB, free: 13.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/8.236, allocations: 4.235 MB / 4.202 GB, free: 9.504 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/8.237, allocations: 1.626 MB / 4.203 GB, free: 8.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002482/8.24, allocations: 1.539 MB / 4.205 GB, free: 7.254 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008573/8.241, allocations: 0.7889 MB / 4.205 GB, free: 6.531 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/8.241, allocations: 0 / 4.205 GB, free: 6.531 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/8.647, allocations: 94.45 MB / 4.298 GB, free: 57.98 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/8.647, allocations: 245.2 kB / 4.298 GB, free: 57.65 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.817/13.46, allocations: 0 / 4.298 GB, free: 57.65 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat