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.001102/0.001103, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001158/0.001158, allocations: 96.23 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4454/0.4454, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.059e-05, allocations: 0 / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1464, allocations: 58.83 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.054/9.2, allocations: 2.824 GB / 3.297 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004697/9.201, allocations: 78.73 kB / 3.297 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.036/11.24, allocations: 466.1 MB / 3.752 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/11.24, allocations: 0 / 3.752 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001055/11.24, allocations: 27 kB / 3.752 GB, free: 50.84 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.0113/11.25, allocations: 2.144 MB / 3.755 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/11.25, allocations: 9 kB / 3.755 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003965/11.25, allocations: 136.4 kB / 3.755 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/11.25, allocations: 368.8 kB / 3.755 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/11.25, allocations: 0.8771 MB / 3.756 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/11.25, allocations: 74.48 kB / 3.756 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/11.26, allocations: 82.17 kB / 3.756 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/11.26, allocations: 1.461 MB / 3.757 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/11.26, allocations: 5.406 kB / 3.757 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/11.26, allocations: 39.72 kB / 3.758 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/11.26, allocations: 53.3 kB / 3.758 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/11.26, allocations: 1.253 MB / 3.759 GB, free: 49.33 MB / 0.5105 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.01179/11.27, allocations: 6.562 MB / 3.765 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/11.28, allocations: 0.9386 MB / 3.766 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/11.28, allocations: 390 kB / 3.767 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07154/11.35, allocations: 32.1 MB / 3.798 GB, free: 41.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/11.35, allocations: 42 kB / 3.798 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 3.407e-06/11.35, allocations: 0 / 3.798 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.008943/11.36, allocations: 2.812 MB / 3.801 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/11.36, allocations: 186.5 kB / 3.801 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/11.36, allocations: 0.6391 MB / 3.801 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/11.36, allocations: 39.98 kB / 3.801 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/11.36, allocations: 409.4 kB / 3.802 GB, free: 40.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/11.36, allocations: 215.5 kB / 3.802 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/11.36, allocations: 16.62 kB / 3.802 GB, free: 40.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002546/11.36, allocations: 392.4 kB / 3.802 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/11.36, allocations: 346.2 kB / 3.803 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/11.36, allocations: 0.5516 MB / 3.803 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/11.36, allocations: 408.4 kB / 3.804 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/11.36, allocations: 11.62 kB / 3.804 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002089/11.36, allocations: 1.201 MB / 3.805 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001035/11.37, allocations: 2.266 MB / 3.807 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/11.37, allocations: 3.906 kB / 3.807 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/11.37, allocations: 0.6513 MB / 3.808 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/11.37, allocations: 156.5 kB / 3.808 GB, free: 36.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/11.37, allocations: 1.274 MB / 3.809 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/11.37, allocations: 104.8 kB / 3.809 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/11.37, allocations: 41.75 kB / 3.809 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/11.37, allocations: 4.75 kB / 3.809 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002038/11.37, allocations: 1.07 MB / 3.81 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/11.37, allocations: 7.578 kB / 3.81 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/11.38, allocations: 405 kB / 3.811 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/11.38, allocations: 162.1 kB / 3.811 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/11.38, allocations: 1.068 MB / 3.812 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/11.38, allocations: 104.2 kB / 3.812 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/11.38, allocations: 45.09 kB / 3.812 GB, free: 35.82 MB / 0.5261 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.0003218/11.38, allocations: 151.6 kB / 3.812 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/11.38, allocations: 82.78 kB / 3.812 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/11.38, allocations: 3.228 MB / 3.815 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.054e-05/11.38, allocations: 41.17 kB / 3.815 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/11.38, allocations: 4 kB / 3.815 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003302/11.39, allocations: 2.698 MB / 3.818 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008429/11.4, allocations: 4.475 MB / 3.823 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/11.4, allocations: 0 / 3.823 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/11.4, allocations: 180.3 kB / 3.823 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/11.4, allocations: 96.14 kB / 3.823 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/11.4, allocations: 23.78 kB / 3.823 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006415/11.4, allocations: 0.6383 MB / 3.823 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/11.4, allocations: 3.281 kB / 3.823 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/11.4, allocations: 2.74 MB / 3.826 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/11.4, allocations: 460.2 kB / 3.827 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/11.4, allocations: 22.73 kB / 3.827 GB, free: 32.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/11.41, allocations: 93.98 kB / 3.827 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/11.41, allocations: 62.31 kB / 3.827 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/11.41, allocations: 25.62 kB / 3.827 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001442/11.41, allocations: 0.7891 MB / 3.827 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/11.41, allocations: 3.188 kB / 3.827 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009402/11.42, allocations: 1.742 MB / 3.829 GB, free: 32.04 MB / 0.5261 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.01907/11.44, allocations: 5.301 MB / 3.834 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003448/11.44, allocations: 1.683 MB / 3.836 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/11.44, allocations: 3.938 kB / 3.836 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/11.44, allocations: 0.8434 MB / 3.837 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/11.44, allocations: 474 kB / 3.837 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/11.46, allocations: 3.177 MB / 3.84 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/11.46, allocations: 1.351 MB / 3.842 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002307/11.46, allocations: 0.9769 MB / 3.843 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/11.46, allocations: 0.5547 MB / 3.843 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/11.46, allocations: 4 kB / 3.843 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5517/12.01, allocations: 70.25 MB / 3.912 GB, free: 62.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/12.01, allocations: 234.5 kB / 3.912 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.459/16.47, allocations: 3.281 kB / 3.912 GB, free: 62.61 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