Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 196.5 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.263/1.263, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008089/0.0008088, allocations: 95.88 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.017e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.0989, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.447/5.546, allocations: 2.824 GB / 3.336 GB, free: 17.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/5.546, allocations: 75.97 kB / 3.336 GB, free: 17.89 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.603/8.149, allocations: 0.7565 GB / 4.092 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.944e-06/8.149, allocations: 0 / 4.092 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000199/8.15, allocations: 40.23 kB / 4.092 GB, free: 51.52 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.01101/8.161, allocations: 2.734 MB / 4.095 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/8.161, allocations: 10.31 kB / 4.095 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005297/8.161, allocations: 175.1 kB / 4.095 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/8.166, allocations: 0.6011 MB / 4.096 GB, free: 50.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/8.168, allocations: 1.076 MB / 4.097 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/8.168, allocations: 91.16 kB / 4.097 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/8.169, allocations: 108.2 kB / 4.097 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/8.173, allocations: 2.257 MB / 4.099 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/8.173, allocations: 3.906 kB / 4.099 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/8.174, allocations: 46.2 kB / 4.099 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-05/8.174, allocations: 85.67 kB / 4.099 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/8.178, allocations: 2.268 MB / 4.102 GB, free: 49.37 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.01131/8.189, allocations: 9.2 MB / 4.111 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/8.193, allocations: 1.751 MB / 4.112 GB, free: 44.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/8.194, allocations: 0.6866 MB / 4.113 GB, free: 44.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04169/8.236, allocations: 27.08 MB / 4.139 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/8.236, allocations: 49.28 kB / 4.139 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001306/8.237, allocations: 214.2 kB / 4.14 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 5.34e-06/8.237, allocations: 4 kB / 4.14 GB, free: 26.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.007873/8.245, allocations: 2.597 MB / 4.142 GB, free: 26.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/8.245, allocations: 223.8 kB / 4.142 GB, free: 25.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/8.246, allocations: 0.8262 MB / 4.143 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/8.246, allocations: 49.02 kB / 4.143 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/8.247, allocations: 0.5546 MB / 4.144 GB, free: 25.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/8.247, allocations: 376.9 kB / 4.144 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/8.247, allocations: 22.62 kB / 4.144 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/8.247, allocations: 361.1 kB / 4.145 GB, free: 24.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/8.248, allocations: 0.5468 MB / 4.145 GB, free: 24.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/8.249, allocations: 0.9131 MB / 4.146 GB, free: 24.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/8.25, allocations: 0.6691 MB / 4.147 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/8.25, allocations: 2.938 kB / 4.147 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002793/8.253, allocations: 1.852 MB / 4.148 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006357/8.254, allocations: 3.751 MB / 4.152 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/8.254, allocations: 10.62 kB / 4.152 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02525/8.279, allocations: 3.018 MB / 4.155 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/8.28, allocations: 283 kB / 4.155 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/8.282, allocations: 1.395 MB / 4.157 GB, free: 19.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/8.284, allocations: 144.2 kB / 4.157 GB, free: 19.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/8.284, allocations: 74.34 kB / 4.157 GB, free: 19.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/8.284, allocations: 11.48 kB / 4.157 GB, free: 19.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003186/8.288, allocations: 1.587 MB / 4.158 GB, free: 19.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/8.288, allocations: 8.688 kB / 4.158 GB, free: 19.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007155/8.288, allocations: 198.7 kB / 4.159 GB, free: 19.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/8.29, allocations: 348 kB / 4.159 GB, free: 19.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006737/8.29, allocations: 0.7389 MB / 4.16 GB, free: 19.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/8.292, allocations: 145.2 kB / 4.16 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/8.292, allocations: 72.17 kB / 4.16 GB, free: 19.16 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.00035/8.292, allocations: 187 kB / 4.16 GB, free: 19.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/8.293, allocations: 127.5 kB / 4.16 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/8.299, allocations: 5.491 MB / 4.166 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/8.299, allocations: 59.52 kB / 4.166 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/8.299, allocations: 0 / 4.166 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/8.299, allocations: 7.547 kB / 4.166 GB, free: 18.36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007923/8.307, allocations: 7.536 MB / 4.173 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/8.307, allocations: 0 / 4.173 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/8.308, allocations: 210.5 kB / 4.173 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02299/8.331, allocations: 4.315 MB / 4.177 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002796/8.331, allocations: 34.78 kB / 4.177 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/8.333, allocations: 2.341 MB / 4.18 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/8.333, allocations: 4 kB / 4.18 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/8.337, allocations: 3.502 MB / 4.183 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/8.338, allocations: 0.6463 MB / 4.184 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/8.338, allocations: 27.89 kB / 4.184 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/8.339, allocations: 136.8 kB / 4.184 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/8.339, allocations: 101.5 kB / 4.184 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/8.34, allocations: 39.7 kB / 4.184 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001143/8.341, allocations: 1.04 MB / 4.185 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/8.341, allocations: 0 / 4.185 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006462/8.347, allocations: 1.967 MB / 4.187 GB, free: 7.66 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.01196/8.359, allocations: 5.804 MB / 4.193 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004704/8.364, allocations: 2.763 MB / 4.195 GB, free: 52 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/8.364, allocations: 0 / 4.195 GB, free: 52 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006424/8.37, allocations: 1.754 MB / 4.197 GB, free: 15.76 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/8.374, allocations: 0.6768 MB / 4.198 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/8.385, allocations: 4.24 MB / 4.202 GB, free: 11.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/8.386, allocations: 1.625 MB / 4.204 GB, free: 10.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003008/8.389, allocations: 1.54 MB / 4.205 GB, free: 9.195 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009311/8.39, allocations: 0.7935 MB / 4.206 GB, free: 8.469 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/8.39, allocations: 0 / 4.206 GB, free: 8.469 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.435/8.825, allocations: 94.46 MB / 4.298 GB, free: 56.83 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/8.825, allocations: 249.9 kB / 4.298 GB, free: 56.49 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.529/13.35, allocations: 2.5 kB / 4.298 GB, free: 56.49 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat