Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",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.001819/0.001819, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.254/0.254, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.508/6.642, allocations: 2.824 GB / 3.303 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/6.642, allocations: 80.7 kB / 3.303 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.137/8.78, allocations: 467.3 MB / 3.76 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/8.78, allocations: 0 / 3.76 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.12e-05/8.78, allocations: 27.44 kB / 3.76 GB, free: 56.49 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.0101/8.79, allocations: 2.259 MB / 3.762 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/8.79, allocations: 7.281 kB / 3.762 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003644/8.79, allocations: 141.4 kB / 3.762 GB, free: 55.56 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/8.793, allocations: 367.5 kB / 3.762 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/8.795, allocations: 0.8966 MB / 3.763 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/8.795, allocations: 68.83 kB / 3.763 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/8.796, allocations: 76.73 kB / 3.763 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/8.799, allocations: 1.478 MB / 3.765 GB, free: 54.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/8.799, allocations: 6.312 kB / 3.765 GB, free: 54.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/8.799, allocations: 37.22 kB / 3.765 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/8.799, allocations: 57.19 kB / 3.765 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/8.802, allocations: 1.345 MB / 3.766 GB, free: 54.95 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008723/8.81, allocations: 6.563 MB / 3.773 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/8.813, allocations: 1.023 MB / 3.774 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06068/8.874, allocations: 32.01 MB / 3.805 GB, free: 31.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.782e-05/8.874, allocations: 44.06 kB / 3.805 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=57): time 3.567e-06/8.874, allocations: 0 / 3.805 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.01136/8.886, allocations: 3.348 MB / 3.808 GB, free: 30.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/8.886, allocations: 194.2 kB / 3.808 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/8.887, allocations: 0.6451 MB / 3.809 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/8.887, allocations: 37.11 kB / 3.809 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/8.888, allocations: 414.5 kB / 3.809 GB, free: 30 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/8.888, allocations: 215.6 kB / 3.81 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/8.888, allocations: 15.72 kB / 3.81 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002015/8.888, allocations: 391.6 kB / 3.81 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009193/8.889, allocations: 421.5 kB / 3.81 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/8.89, allocations: 0.6218 MB / 3.811 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/8.891, allocations: 491.3 kB / 3.811 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/8.891, allocations: 0 / 3.811 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002937/8.894, allocations: 1.365 MB / 3.813 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000736/8.895, allocations: 2.275 MB / 3.815 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/8.895, allocations: 8.375 kB / 3.815 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/8.899, allocations: 0.6918 MB / 3.816 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/8.899, allocations: 162.3 kB / 3.816 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/8.901, allocations: 1.306 MB / 3.817 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/8.903, allocations: 106.3 kB / 3.817 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/8.903, allocations: 40.41 kB / 3.817 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/8.903, allocations: 3.469 kB / 3.817 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003194/8.906, allocations: 1.229 MB / 3.819 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/8.906, allocations: 11.77 kB / 3.819 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/8.908, allocations: 427.3 kB / 3.819 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/8.909, allocations: 178.5 kB / 3.819 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/8.91, allocations: 1.101 MB / 3.82 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/8.912, allocations: 106 kB / 3.82 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/8.912, allocations: 40.42 kB / 3.82 GB, free: 25.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.00102/8.913, allocations: 360 kB / 3.821 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/8.913, allocations: 95.44 kB / 3.821 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/8.918, allocations: 3.349 MB / 3.824 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/8.918, allocations: 32.17 kB / 3.824 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/8.918, allocations: 7.891 kB / 3.824 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00347/8.922, allocations: 2.8 MB / 3.827 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/8.929, allocations: 4.606 MB / 3.831 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/8.929, allocations: 3.953 kB / 3.831 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/8.93, allocations: 177.3 kB / 3.831 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/8.93, allocations: 96.08 kB / 3.832 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.839e-05/8.93, allocations: 17.91 kB / 3.832 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000403/8.931, allocations: 0.6431 MB / 3.832 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/8.931, allocations: 4.875 kB / 3.832 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/8.935, allocations: 2.96 MB / 3.835 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/8.936, allocations: 460 kB / 3.836 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/8.937, allocations: 18.16 kB / 3.836 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/8.938, allocations: 89.89 kB / 3.836 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/8.938, allocations: 64.86 kB / 3.836 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.601e-05/8.938, allocations: 25.69 kB / 3.836 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001445/8.939, allocations: 0.8011 MB / 3.836 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/8.939, allocations: 0 / 3.836 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01011/8.95, allocations: 1.733 MB / 3.838 GB, free: 22.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0203/8.97, allocations: 5.518 MB / 3.844 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004563/8.975, allocations: 1.872 MB / 3.845 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/8.975, allocations: 4.062 kB / 3.845 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/8.976, allocations: 0.8952 MB / 3.846 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/8.979, allocations: 478.1 kB / 3.847 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/8.995, allocations: 8.902 MB / 3.855 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/8.997, allocations: 1.348 MB / 3.857 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00199/8.999, allocations: 0.9064 MB / 3.858 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008687/9, allocations: 0.5603 MB / 3.858 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/9, allocations: 0 / 3.858 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/9.13, allocations: 66.21 MB / 3.923 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/9.131, allocations: 264 kB / 3.923 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.586/13.72, allocations: 0 / 3.923 GB, free: 2.164 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat