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.001386/0.001386, allocations: 202.1 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.601/1.601, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009811/0.0009813, allocations: 101.2 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 45.15 MB / 383.8 MB, free: 320 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.784e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1404, allocations: 63.25 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.406/8.547, allocations: 2.824 GB / 3.328 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/8.547, allocations: 80.27 kB / 3.328 GB, free: 18.92 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.283/11.83, allocations: 0.7499 GB / 4.078 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/11.83, allocations: 0 / 4.078 GB, free: 45.81 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001895/11.83, allocations: 30.91 kB / 4.078 GB, free: 45.8 MB / 0.5417 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.01391/11.84, allocations: 2.732 MB / 4.081 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/11.84, allocations: 9.281 kB / 4.081 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/11.85, allocations: 0.6057 MB / 4.081 GB, free: 44.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/11.85, allocations: 1.077 MB / 4.082 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/11.85, allocations: 45.62 kB / 4.083 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/11.85, allocations: 61.91 kB / 4.083 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003878/11.86, allocations: 1.754 MB / 4.084 GB, free: 43.95 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/11.86, allocations: 1.555 MB / 4.086 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/11.86, allocations: 7.25 kB / 4.086 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/11.86, allocations: 5.906 kB / 4.086 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/11.86, allocations: 81.39 kB / 4.086 GB, free: 43.59 MB / 0.5417 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.7899/12.65, allocations: 184.9 MB / 4.266 GB, free: 30.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/12.65, allocations: 1.126 MB / 4.268 GB, free: 30.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009908/12.65, allocations: 0.5614 MB / 4.268 GB, free: 30.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03555/12.69, allocations: 18.75 MB / 4.286 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/12.69, allocations: 44.31 kB / 4.286 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001506/12.69, allocations: 173 kB / 4.287 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=91): time 7.704e-06/12.69, allocations: 0 / 4.287 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=91): time 0.01051/12.7, allocations: 2.419 MB / 4.289 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001133/12.7, allocations: 220 kB / 4.289 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/12.71, allocations: 0.7392 MB / 4.29 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/12.71, allocations: 29.64 kB / 4.29 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006455/12.71, allocations: 0.6283 MB / 4.291 GB, free: 33.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005253/12.71, allocations: 308.4 kB / 4.291 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/12.71, allocations: 1.594 kB / 4.291 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002266/12.71, allocations: 358.7 kB / 4.291 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/12.71, allocations: 0.5309 MB / 4.292 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/12.71, allocations: 0.8895 MB / 4.293 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/12.72, allocations: 1.204 MB / 4.294 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/12.72, allocations: 5.531 kB / 4.294 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00798/12.72, allocations: 2.312 MB / 4.296 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001516/12.72, allocations: 3.755 MB / 4.3 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/12.72, allocations: 10.84 kB / 4.3 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005575/12.73, allocations: 1.048 MB / 4.301 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/12.73, allocations: 277.6 kB / 4.301 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/12.74, allocations: 1.791 MB / 4.303 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/12.74, allocations: 180.5 kB / 4.303 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/12.74, allocations: 71.05 kB / 4.303 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/12.74, allocations: 6.875 kB / 4.303 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006308/12.75, allocations: 1.773 MB / 4.305 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/12.75, allocations: 11.59 kB / 4.305 GB, free: 27.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007506/12.75, allocations: 190.8 kB / 4.305 GB, free: 27.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/12.75, allocations: 345.9 kB / 4.305 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/12.75, allocations: 0.7556 MB / 4.306 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/12.75, allocations: 153 kB / 4.306 GB, free: 26.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/12.75, allocations: 72.75 kB / 4.306 GB, free: 26.81 MB / 0.6042 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.0004963/12.75, allocations: 146.5 kB / 4.306 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007067/12.76, allocations: 1.859 MB / 4.308 GB, free: 26.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/12.76, allocations: 120 kB / 4.308 GB, free: 26.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00814/12.77, allocations: 3.88 MB / 4.312 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/12.77, allocations: 35.83 kB / 4.312 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/12.77, allocations: 3.969 kB / 4.312 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/12.77, allocations: 3.703 kB / 4.312 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/12.78, allocations: 5.324 MB / 4.317 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/12.78, allocations: 1.125 kB / 4.317 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/12.78, allocations: 116.7 kB / 4.317 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004409/12.78, allocations: 2.498 MB / 4.32 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/12.78, allocations: 12.75 kB / 4.32 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/12.79, allocations: 2.886 MB / 4.323 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/12.79, allocations: 10.8 kB / 4.323 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/12.8, allocations: 3.108 MB / 4.326 GB, free: 24.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/12.8, allocations: 466.3 kB / 4.326 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/12.8, allocations: 1.281 kB / 4.326 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/12.8, allocations: 99.92 kB / 4.326 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/12.8, allocations: 66.67 kB / 4.326 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/12.8, allocations: 33.27 kB / 4.326 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001391/12.8, allocations: 0.832 MB / 4.327 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/12.8, allocations: 0 / 4.327 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008602/12.81, allocations: 1.904 MB / 4.329 GB, free: 24.26 MB / 0.6042 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.0201/12.83, allocations: 5.545 MB / 4.334 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006633/12.84, allocations: 2.318 MB / 4.337 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/12.84, allocations: 0.625 kB / 4.337 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/12.84, allocations: 0.9055 MB / 4.338 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/12.84, allocations: 0.4948 MB / 4.338 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/12.85, allocations: 3.115 MB / 4.341 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/12.86, allocations: 1.392 MB / 4.342 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003421/12.86, allocations: 1.771 MB / 4.344 GB, free: 21.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008538/12.86, allocations: 0.5839 MB / 4.345 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/12.86, allocations: 4 kB / 4.345 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5691/13.43, allocations: 70.52 MB / 4.414 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/13.43, allocations: 196.7 kB / 4.414 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.114/18.54, allocations: 0 / 4.414 GB, free: 109.3 MB / 0.6042 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