Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002278/0.002278, allocations: 179.2 kB / 8.363 MB, free: 0.7148 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.103/2.103, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 83.53 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3054/0.3054, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.09e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4251, allocations: 58.84 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.857/9.282, allocations: 2.817 GB / 3.283 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/9.282, allocations: 77.08 kB / 3.284 GB, free: 103.3 MB / 0.4952 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.844/13.13, allocations: 0.7415 GB / 4.025 GB, free: 7.117 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.184e-06/13.13, allocations: 0 / 4.025 GB, free: 7.117 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0001649/13.13, allocations: 39.83 kB / 4.025 GB, free: 7.082 MB / 0.5265 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.01736/13.14, allocations: 2.717 MB / 4.028 GB, free: 4.324 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/13.14, allocations: 8.031 kB / 4.028 GB, free: 4.316 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007054/13.15, allocations: 0.6012 MB / 4.028 GB, free: 3.715 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/13.16, allocations: 1.065 MB / 4.029 GB, free: 2.625 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/13.16, allocations: 48.33 kB / 4.029 GB, free: 2.578 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/13.16, allocations: 63.95 kB / 4.029 GB, free: 2.516 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005477/13.16, allocations: 1.754 MB / 4.031 GB, free: 0.7578 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4151/13.58, allocations: 1.544 MB / 4.033 GB, free: 42.51 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/13.58, allocations: 6.875 kB / 4.033 GB, free: 42.51 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/13.58, allocations: 3.594 kB / 4.033 GB, free: 42.51 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/13.58, allocations: 86.27 kB / 4.033 GB, free: 42.5 MB / 0.5265 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.5501/14.13, allocations: 167.2 MB / 4.196 GB, free: 18.67 MB / 0.6046 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/14.13, allocations: 1.125 MB / 4.197 GB, free: 18.63 MB / 0.6046 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/14.13, allocations: 0.5655 MB / 4.198 GB, free: 18.62 MB / 0.6046 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05541/14.19, allocations: 16.91 MB / 4.214 GB, free: 23.63 MB / 0.6202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/14.19, allocations: 45.53 kB / 4.214 GB, free: 23.59 MB / 0.6202 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002002/14.19, allocations: 173 kB / 4.214 GB, free: 23.56 MB / 0.6202 GB Notification: Performance of pre-optimization done (n=91): time 7.524e-06/14.19, allocations: 3.719 kB / 4.214 GB, free: 23.56 MB / 0.6202 GB Notification: Performance of matching and sorting (n=91): time 0.0146/14.2, allocations: 2.398 MB / 4.217 GB, free: 23.43 MB / 0.6202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/14.2, allocations: 218 kB / 4.217 GB, free: 23.17 MB / 0.6202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/14.21, allocations: 0.7474 MB / 4.218 GB, free: 23.02 MB / 0.6202 GB Notification: Performance of collectPreVariables (initialization): time 0.0003635/14.21, allocations: 29.64 kB / 4.218 GB, free: 22.99 MB / 0.6202 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/14.21, allocations: 0.6333 MB / 4.218 GB, free: 22.67 MB / 0.6202 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/14.21, allocations: 306.9 kB / 4.219 GB, free: 22.51 MB / 0.6202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/14.21, allocations: 4 kB / 4.219 GB, free: 22.51 MB / 0.6202 GB Notification: Performance of setup shared object (initialization): time 0.0001784/14.21, allocations: 361.5 kB / 4.219 GB, free: 22.2 MB / 0.6202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/14.21, allocations: 0.5303 MB / 4.22 GB, free: 22.2 MB / 0.6202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/14.21, allocations: 0.8874 MB / 4.22 GB, free: 21.8 MB / 0.6202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009373/14.22, allocations: 1.191 MB / 4.222 GB, free: 21.77 MB / 0.6202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-05/14.22, allocations: 3.656 kB / 4.222 GB, free: 21.77 MB / 0.6202 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01283/14.23, allocations: 2.238 MB / 4.224 GB, free: 21.66 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 0.001563/14.23, allocations: 3.755 MB / 4.227 GB, free: 17.72 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/14.23, allocations: 9.562 kB / 4.227 GB, free: 17.72 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/14.25, allocations: 1.054 MB / 4.228 GB, free: 17.67 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/14.25, allocations: 277 kB / 4.229 GB, free: 17.67 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/14.26, allocations: 1.771 MB / 4.23 GB, free: 17.12 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/14.26, allocations: 182.9 kB / 4.231 GB, free: 17.11 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003934/14.26, allocations: 72.95 kB / 4.231 GB, free: 17.11 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/14.26, allocations: 3.625 kB / 4.231 GB, free: 17.11 MB / 0.6202 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/14.27, allocations: 1.766 MB / 4.232 GB, free: 17.05 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/14.27, allocations: 9.406 kB / 4.232 GB, free: 17.05 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/14.27, allocations: 190 kB / 4.233 GB, free: 17.04 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/14.28, allocations: 351.3 kB / 4.233 GB, free: 17.03 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/14.28, allocations: 0.751 MB / 4.234 GB, free: 16.51 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/14.28, allocations: 150.5 kB / 4.234 GB, free: 16.49 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/14.28, allocations: 68.56 kB / 4.234 GB, free: 16.49 MB / 0.6202 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.0005554/14.28, allocations: 146.4 kB / 4.234 GB, free: 16.38 MB / 0.6202 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01115/14.29, allocations: 1.852 MB / 4.236 GB, free: 16.25 MB / 0.6202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/14.29, allocations: 111.2 kB / 4.236 GB, free: 16.2 MB / 0.6202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/14.31, allocations: 3.865 MB / 4.24 GB, free: 15.9 MB / 0.6202 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/14.31, allocations: 36.7 kB / 4.24 GB, free: 15.9 MB / 0.6202 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/14.31, allocations: 2.406 kB / 4.24 GB, free: 15.9 MB / 0.6202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/14.31, allocations: 7.688 kB / 4.24 GB, free: 15.9 MB / 0.6202 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/14.32, allocations: 5.319 MB / 4.245 GB, free: 14.75 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/14.32, allocations: 2.25 kB / 4.245 GB, free: 14.75 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/14.32, allocations: 116.6 kB / 4.245 GB, free: 14.66 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007818/14.33, allocations: 2.502 MB / 4.248 GB, free: 12.89 MB / 0.6202 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/14.33, allocations: 11.19 kB / 4.248 GB, free: 12.88 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008437/14.34, allocations: 2.88 MB / 4.25 GB, free: 11.19 MB / 0.6202 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/14.34, allocations: 4 kB / 4.25 GB, free: 11.19 MB / 0.6202 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/14.35, allocations: 3.088 MB / 4.253 GB, free: 9.395 MB / 0.6202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/14.36, allocations: 462.2 kB / 4.254 GB, free: 9.109 MB / 0.6202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/14.36, allocations: 4 kB / 4.254 GB, free: 9.105 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/14.36, allocations: 98.06 kB / 4.254 GB, free: 9.043 MB / 0.6202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/14.36, allocations: 74.91 kB / 4.254 GB, free: 9.008 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/14.36, allocations: 33.8 kB / 4.254 GB, free: 8.984 MB / 0.6202 GB Notification: Performance of sorting global known variables: time 0.001673/14.36, allocations: 0.8375 MB / 4.255 GB, free: 8.484 MB / 0.6202 GB Notification: Performance of sort global known variables: time 5.31e-07/14.36, allocations: 0 / 4.255 GB, free: 8.484 MB / 0.6202 GB Notification: Performance of remove unused functions: time 0.009686/14.37, allocations: 1.866 MB / 4.257 GB, free: 6.938 MB / 0.6202 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.02559/14.4, allocations: 5.504 MB / 4.262 GB, free: 3.164 MB / 0.6202 GB Notification: Performance of simCode: created initialization part: time 0.007626/14.4, allocations: 2.298 MB / 4.264 GB, free: 1.895 MB / 0.6202 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/14.4, allocations: 0.9844 kB / 4.264 GB, free: 1.895 MB / 0.6202 GB Notification: Performance of simCode: created simulation system equations: time 0.002778/14.41, allocations: 0.9045 MB / 4.265 GB, free: 1.422 MB / 0.6202 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/14.41, allocations: 494.5 kB / 4.266 GB, free: 1.156 MB / 0.6202 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.434/14.84, allocations: 3.134 MB / 4.269 GB, free: 136 MB / 0.6202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/14.85, allocations: 1.384 MB / 4.27 GB, free: 135.3 MB / 0.6202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/14.85, allocations: 0.6114 MB / 4.271 GB, free: 135.3 MB / 0.6202 GB Notification: Performance of SimCode: time 1.342e-06/14.85, allocations: 0 / 4.271 GB, free: 135.3 MB / 0.6202 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.323/19.17, allocations: 59.19 MB / 4.328 GB, free: 132.3 MB / 0.6202 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat