Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 177.1 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009342, allocations: 82.69 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.292/0.292, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.252e-05/2.255e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.561/8.713, allocations: 2.817 GB / 3.283 GB, free: 52.92 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/8.713, allocations: 80.94 kB / 3.284 GB, free: 52.89 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 3.084/11.8, allocations: 0.7415 GB / 4.025 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/11.8, allocations: 3 kB / 4.025 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001051/11.8, allocations: 33.94 kB / 4.025 GB, free: 52.28 MB / 0.5261 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.01175/11.81, allocations: 2.731 MB / 4.028 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/11.81, allocations: 10.22 kB / 4.028 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/11.81, allocations: 0.5912 MB / 4.028 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/11.82, allocations: 1.071 MB / 4.029 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/11.82, allocations: 45.39 kB / 4.029 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/11.82, allocations: 64.09 kB / 4.029 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002708/11.82, allocations: 1.752 MB / 4.031 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/11.82, allocations: 1.554 MB / 4.033 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/11.82, allocations: 7.312 kB / 4.033 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/11.82, allocations: 3.438 kB / 4.033 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/11.82, allocations: 81.03 kB / 4.033 GB, free: 50.19 MB / 0.5261 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.743/12.56, allocations: 167.2 MB / 4.196 GB, free: 48.99 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/12.57, allocations: 1.124 MB / 4.197 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/12.57, allocations: 0.568 MB / 4.198 GB, free: 48.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02958/12.6, allocations: 16.9 MB / 4.214 GB, free: 38.01 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/12.6, allocations: 45.56 kB / 4.214 GB, free: 37.97 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001663/12.6, allocations: 166.7 kB / 4.214 GB, free: 37.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=91): time 4.518e-06/12.6, allocations: 0 / 4.214 GB, free: 37.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=91): time 0.008679/12.61, allocations: 2.405 MB / 4.217 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/12.61, allocations: 220.2 kB / 4.217 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/12.61, allocations: 0.7423 MB / 4.218 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/12.61, allocations: 25.7 kB / 4.218 GB, free: 37.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/12.61, allocations: 0.6268 MB / 4.218 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/12.61, allocations: 310.2 kB / 4.219 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/12.61, allocations: 1.75 kB / 4.219 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001551/12.61, allocations: 359.2 kB / 4.219 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/12.61, allocations: 0.5336 MB / 4.22 GB, free: 36.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009837/12.61, allocations: 0.8846 MB / 4.22 GB, free: 36.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/12.62, allocations: 1.189 MB / 4.222 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/12.62, allocations: 3.531 kB / 4.222 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00733/12.62, allocations: 2.294 MB / 4.224 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000846/12.63, allocations: 3.754 MB / 4.228 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/12.63, allocations: 10.25 kB / 4.228 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/12.63, allocations: 1.051 MB / 4.229 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/12.63, allocations: 280.2 kB / 4.229 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/12.64, allocations: 1.771 MB / 4.231 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/12.64, allocations: 190.8 kB / 4.231 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/12.64, allocations: 70.06 kB / 4.231 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/12.64, allocations: 3.594 kB / 4.231 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005686/12.64, allocations: 1.761 MB / 4.233 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/12.64, allocations: 13.17 kB / 4.233 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/12.65, allocations: 195.8 kB / 4.233 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/12.65, allocations: 351.2 kB / 4.233 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007872/12.65, allocations: 0.7529 MB / 4.234 GB, free: 31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/12.65, allocations: 142.7 kB / 4.234 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/12.65, allocations: 70.62 kB / 4.234 GB, free: 30.98 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,pump.heatTransfer.states[1].phase,source.medium.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.0005082/12.65, allocations: 153.5 kB / 4.234 GB, free: 30.87 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007044/12.66, allocations: 1.846 MB / 4.236 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/12.66, allocations: 112.1 kB / 4.236 GB, free: 30.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008298/12.67, allocations: 3.86 MB / 4.24 GB, free: 30.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/12.67, allocations: 37.69 kB / 4.24 GB, free: 30.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/12.67, allocations: 1.641 kB / 4.24 GB, free: 30.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/12.67, allocations: 7.422 kB / 4.24 GB, free: 30.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/12.68, allocations: 5.317 MB / 4.245 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/12.68, allocations: 3 kB / 4.245 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/12.68, allocations: 116.1 kB / 4.245 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004509/12.68, allocations: 2.506 MB / 4.248 GB, free: 29.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/12.68, allocations: 14.11 kB / 4.248 GB, free: 29.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004791/12.69, allocations: 2.865 MB / 4.25 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/12.69, allocations: 3.562 kB / 4.25 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00701/12.69, allocations: 3.094 MB / 4.253 GB, free: 28.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/12.69, allocations: 466.6 kB / 4.254 GB, free: 28.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/12.69, allocations: 7.312 kB / 4.254 GB, free: 28.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/12.7, allocations: 95.53 kB / 4.254 GB, free: 28.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/12.7, allocations: 68.62 kB / 4.254 GB, free: 28.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/12.7, allocations: 34.19 kB / 4.254 GB, free: 28.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00117/12.7, allocations: 0.8369 MB / 4.255 GB, free: 28.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.81e-07/12.7, allocations: 0 / 4.255 GB, free: 28.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009005/12.71, allocations: 1.873 MB / 4.257 GB, free: 28.45 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: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02015/12.73, allocations: 5.518 MB / 4.262 GB, free: 27.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006141/12.73, allocations: 2.327 MB / 4.264 GB, free: 27.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/12.73, allocations: 0 / 4.264 GB, free: 27.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/12.73, allocations: 0.9031 MB / 4.265 GB, free: 27.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/12.74, allocations: 493.4 kB / 4.266 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/12.75, allocations: 3.103 MB / 4.269 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/12.75, allocations: 1.391 MB / 4.27 GB, free: 25.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00393/12.76, allocations: 1.781 MB / 4.272 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/12.76, allocations: 0.5854 MB / 4.272 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of SimCode: time 2.024e-06/12.76, allocations: 0 / 4.272 GB, free: 25.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/12.88, allocations: 70.24 MB / 4.341 GB, free: 15.88 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/12.88, allocations: 196.3 kB / 4.341 GB, free: 15.62 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.879/17.76, allocations: 4 kB / 4.341 GB, free: 15.62 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat