Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.001099, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.17 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.263e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.424/8.55, allocations: 2.829 GB / 3.331 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/8.55, allocations: 79.95 kB / 3.331 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.074/10.62, allocations: 471.2 MB / 3.791 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/10.62, allocations: 0 / 3.791 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.156e-05/10.62, allocations: 30.59 kB / 3.791 GB, free: 40.39 MB / 0.5261 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.009049/10.63, allocations: 2.15 MB / 3.793 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/10.63, allocations: 12.88 kB / 3.793 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/10.63, allocations: 126.7 kB / 3.793 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/10.64, allocations: 378.9 kB / 3.794 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/10.64, allocations: 0.8789 MB / 3.795 GB, free: 38.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/10.64, allocations: 66.33 kB / 3.795 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/10.64, allocations: 80.89 kB / 3.795 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/10.64, allocations: 1.456 MB / 3.796 GB, free: 37.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/10.64, allocations: 7.281 kB / 3.796 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/10.64, allocations: 35.84 kB / 3.796 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/10.64, allocations: 54.95 kB / 3.796 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/10.64, allocations: 1.255 MB / 3.798 GB, free: 36.87 MB / 0.5261 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.008265/10.65, allocations: 6.567 MB / 3.804 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/10.66, allocations: 0.9375 MB / 3.805 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/10.66, allocations: 386.3 kB / 3.805 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06055/10.72, allocations: 32.11 MB / 3.837 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/10.72, allocations: 50.98 kB / 3.837 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=57): time 3.727e-06/10.72, allocations: 3.938 kB / 3.837 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=61): time 0.007673/10.72, allocations: 2.806 MB / 3.839 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/10.72, allocations: 188.5 kB / 3.84 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/10.73, allocations: 0.6365 MB / 3.84 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/10.73, allocations: 37.7 kB / 3.84 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/10.73, allocations: 411.6 kB / 3.841 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/10.73, allocations: 220.6 kB / 3.841 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/10.73, allocations: 12 kB / 3.841 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002137/10.73, allocations: 394.7 kB / 3.841 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/10.73, allocations: 349.4 kB / 3.842 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/10.73, allocations: 0.5401 MB / 3.842 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/10.73, allocations: 419 kB / 3.843 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/10.73, allocations: 0 / 3.843 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00209/10.73, allocations: 1.206 MB / 3.844 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/10.73, allocations: 2.27 MB / 3.846 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/10.73, allocations: 4 kB / 3.846 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/10.74, allocations: 0.6505 MB / 3.847 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4612/11.2, allocations: 155.4 kB / 3.847 GB, free: 67.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/11.2, allocations: 1.263 MB / 3.848 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/11.2, allocations: 99.86 kB / 3.848 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.872e-05/11.2, allocations: 46.41 kB / 3.848 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/11.2, allocations: 4.125 kB / 3.848 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002499/11.2, allocations: 1.064 MB / 3.849 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/11.2, allocations: 6.25 kB / 3.849 GB, free: 66.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/11.2, allocations: 394.3 kB / 3.849 GB, free: 66.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/11.2, allocations: 175.9 kB / 3.85 GB, free: 66.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/11.21, allocations: 1.06 MB / 3.851 GB, free: 66.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/11.21, allocations: 104.9 kB / 3.851 GB, free: 66.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.886e-05/11.21, allocations: 38.17 kB / 3.851 GB, free: 66.35 MB / 0.5417 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 () * 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.0003481/11.21, allocations: 156.1 kB / 3.851 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/11.21, allocations: 84.86 kB / 3.851 GB, free: 66.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/11.21, allocations: 3.245 MB / 3.854 GB, free: 66.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/11.21, allocations: 36.66 kB / 3.854 GB, free: 66.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/11.21, allocations: 2.094 kB / 3.854 GB, free: 66.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00323/11.22, allocations: 2.682 MB / 3.857 GB, free: 65.52 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006205/11.22, allocations: 4.489 MB / 3.861 GB, free: 65.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/11.22, allocations: 2.688 kB / 3.861 GB, free: 65.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/11.22, allocations: 175.5 kB / 3.861 GB, free: 65.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/11.22, allocations: 90.95 kB / 3.862 GB, free: 65.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/11.22, allocations: 22.67 kB / 3.862 GB, free: 65.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000335/11.22, allocations: 0.6458 MB / 3.862 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/11.22, allocations: 0 / 3.862 GB, free: 64.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/11.23, allocations: 2.745 MB / 3.865 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/11.23, allocations: 459.5 kB / 3.865 GB, free: 63.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/11.23, allocations: 20.14 kB / 3.865 GB, free: 63.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008062/11.23, allocations: 94.08 kB / 3.865 GB, free: 63.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/11.23, allocations: 59.42 kB / 3.865 GB, free: 63.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/11.23, allocations: 25.23 kB / 3.865 GB, free: 63.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001317/11.23, allocations: 0.7882 MB / 3.866 GB, free: 63.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.61e-07/11.23, allocations: 0 / 3.866 GB, free: 63.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009193/11.24, allocations: 1.738 MB / 3.868 GB, free: 63.8 MB / 0.5417 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 () * 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.01746/11.26, allocations: 5.299 MB / 3.873 GB, free: 62.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003417/11.26, allocations: 1.679 MB / 3.875 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/11.26, allocations: 0 / 3.875 GB, free: 62.58 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/11.26, allocations: 0.8429 MB / 3.876 GB, free: 62.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/11.27, allocations: 475.9 kB / 3.876 GB, free: 62.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/11.28, allocations: 3.201 MB / 3.879 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/11.28, allocations: 1.341 MB / 3.88 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00264/11.28, allocations: 0.9789 MB / 3.881 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007909/11.28, allocations: 0.5535 MB / 3.882 GB, free: 61.17 MB / 0.5417 GB Notification: Performance of SimCode: time 3.606e-06/11.28, allocations: 0 / 3.882 GB, free: 61.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/11.42, allocations: 70.32 MB / 3.951 GB, free: 58.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/11.42, allocations: 240.8 kB / 3.951 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.626/16.04, allocations: 3.688 kB / 3.951 GB, free: 58.39 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat