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.002033/0.002033, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008657, allocations: 98.16 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 45.15 MB / 383.8 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.632e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 63.25 MB / 0.5045 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.243/8.387, allocations: 2.824 GB / 3.328 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/8.388, allocations: 79.95 kB / 3.328 GB, free: 90.75 MB / 0.5261 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 3.325/11.71, allocations: 0.7498 GB / 4.078 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/11.71, allocations: 2.75 kB / 4.078 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001217/11.71, allocations: 42.14 kB / 4.078 GB, free: 50.45 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.0122/11.72, allocations: 2.728 MB / 4.081 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/11.72, allocations: 15.11 kB / 4.081 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/11.73, allocations: 0.601 MB / 4.081 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/11.73, allocations: 1.075 MB / 4.082 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/11.73, allocations: 47 kB / 4.083 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/11.73, allocations: 59.19 kB / 4.083 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002748/11.74, allocations: 1.755 MB / 4.084 GB, free: 48.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/11.74, allocations: 1.55 MB / 4.086 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/11.74, allocations: 6.219 kB / 4.086 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/11.74, allocations: 2.156 kB / 4.086 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.972e-05/11.74, allocations: 86.11 kB / 4.086 GB, free: 48.55 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.3461/12.08, allocations: 184.9 MB / 4.266 GB, free: 19.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/12.09, allocations: 1.12 MB / 4.268 GB, free: 19.08 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000935/12.09, allocations: 0.5726 MB / 4.268 GB, free: 18.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4905/12.58, allocations: 18.76 MB / 4.286 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.065e-05/12.58, allocations: 50.53 kB / 4.286 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001511/12.58, allocations: 173.6 kB / 4.287 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=91): time 3.948e-06/12.58, allocations: 0 / 4.287 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=91): time 0.008756/12.59, allocations: 2.408 MB / 4.289 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/12.59, allocations: 217.3 kB / 4.289 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/12.59, allocations: 0.7449 MB / 4.29 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/12.59, allocations: 30.17 kB / 4.29 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/12.59, allocations: 0.6242 MB / 4.291 GB, free: 139.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/12.59, allocations: 308.8 kB / 4.291 GB, free: 139 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/12.59, allocations: 0 / 4.291 GB, free: 139 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001005/12.59, allocations: 360.2 kB / 4.291 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000768/12.59, allocations: 0.5302 MB / 4.292 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009116/12.59, allocations: 0.8903 MB / 4.293 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005326/12.6, allocations: 1.208 MB / 4.294 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/12.6, allocations: 2.922 kB / 4.294 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008107/12.61, allocations: 2.312 MB / 4.296 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001181/12.61, allocations: 3.747 MB / 4.3 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/12.61, allocations: 12.94 kB / 4.3 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005951/12.61, allocations: 1.052 MB / 4.301 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/12.61, allocations: 281.3 kB / 4.301 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/12.62, allocations: 1.783 MB / 4.303 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/12.62, allocations: 184.3 kB / 4.303 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/12.62, allocations: 68.02 kB / 4.303 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/12.62, allocations: 4.969 kB / 4.303 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007234/12.63, allocations: 1.77 MB / 4.305 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/12.63, allocations: 10.7 kB / 4.305 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008517/12.63, allocations: 196.3 kB / 4.305 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/12.63, allocations: 351.1 kB / 4.305 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/12.63, allocations: 0.7513 MB / 4.306 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/12.64, allocations: 151.9 kB / 4.306 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/12.64, allocations: 68.92 kB / 4.306 GB, free: 133.2 MB / 0.6511 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.0004368/12.64, allocations: 144.8 kB / 4.306 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007648/12.64, allocations: 1.856 MB / 4.308 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005399/12.64, allocations: 119.5 kB / 4.308 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/12.66, allocations: 3.882 MB / 4.312 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-05/12.66, allocations: 32.78 kB / 4.312 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/12.66, allocations: 1.172 kB / 4.312 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/12.66, allocations: 5.391 kB / 4.312 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/12.67, allocations: 5.337 MB / 4.317 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/12.67, allocations: 3.844 kB / 4.317 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/12.67, allocations: 113.4 kB / 4.317 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004549/12.67, allocations: 2.5 MB / 4.32 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/12.67, allocations: 11.08 kB / 4.32 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005339/12.68, allocations: 2.892 MB / 4.323 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/12.68, allocations: 9.047 kB / 4.323 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007602/12.69, allocations: 3.106 MB / 4.326 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/12.69, allocations: 465.4 kB / 4.326 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/12.69, allocations: 3.125 kB / 4.326 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/12.69, allocations: 102 kB / 4.326 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/12.69, allocations: 64.67 kB / 4.326 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/12.69, allocations: 37.61 kB / 4.326 GB, free: 131 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001375/12.69, allocations: 0.8341 MB / 4.327 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/12.69, allocations: 0 / 4.327 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.009721/12.7, allocations: 1.894 MB / 4.329 GB, free: 130.7 MB / 0.6511 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.01945/12.72, allocations: 5.536 MB / 4.334 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006108/12.73, allocations: 2.327 MB / 4.337 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/12.73, allocations: 2.625 kB / 4.337 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/12.73, allocations: 0.9 MB / 4.338 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/12.73, allocations: 0.4902 MB / 4.338 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/12.74, allocations: 3.122 MB / 4.341 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/12.74, allocations: 1.393 MB / 4.342 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003337/12.75, allocations: 1.777 MB / 4.344 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/12.75, allocations: 0.5835 MB / 4.345 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.372e-06/12.75, allocations: 0 / 4.345 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/12.88, allocations: 70.5 MB / 4.414 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/12.88, allocations: 213 kB / 4.414 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.855/17.73, allocations: 4 kB / 4.414 GB, free: 124.8 MB / 0.6511 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