Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",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.001135/0.001135, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009839/0.000984, allocations: 78.64 kB / 261.7 MB, free: 1.684 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.2237/0.2237, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.968e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.812/7.942, allocations: 2.771 GB / 3.237 GB, free: 94.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/7.942, allocations: 86.2 kB / 3.237 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.163/10.11, allocations: 0.4969 GB / 3.734 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.173e-06/10.11, allocations: 0 / 3.734 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.071e-05/10.11, allocations: 31.03 kB / 3.734 GB, free: 51.23 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008212/10.11, allocations: 2.056 MB / 3.736 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/10.11, allocations: 8.781 kB / 3.736 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/10.12, allocations: 0.7207 MB / 3.737 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/10.12, allocations: 0.808 MB / 3.738 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/10.12, allocations: 39.84 kB / 3.738 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/10.12, allocations: 50.81 kB / 3.738 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001776/10.12, allocations: 0.9151 MB / 3.739 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/10.13, allocations: 1.092 MB / 3.74 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/10.13, allocations: 6.031 kB / 3.74 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/10.13, allocations: 11.95 kB / 3.74 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/10.13, allocations: 23.34 kB / 3.74 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09891/10.22, allocations: 52.95 MB / 3.792 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/10.23, allocations: 0.5984 MB / 3.792 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/10.23, allocations: 302.9 kB / 3.793 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03281/10.26, allocations: 16.65 MB / 3.809 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.839e-05/10.26, allocations: 40.53 kB / 3.809 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=61): time 6.102e-06/10.26, allocations: 0 / 3.809 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.005298/10.26, allocations: 1.494 MB / 3.81 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/10.26, allocations: 213.6 kB / 3.81 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/10.27, allocations: 0.5587 MB / 3.811 GB, free: 22.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/10.27, allocations: 25.7 kB / 3.811 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/10.27, allocations: 0.5072 MB / 3.812 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/10.27, allocations: 196.3 kB / 3.812 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/10.27, allocations: 0 / 3.812 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001049/10.27, allocations: 389.6 kB / 3.812 GB, free: 37.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/10.27, allocations: 251 kB / 3.812 GB, free: 37.42 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/10.27, allocations: 0.5393 MB / 3.813 GB, free: 37.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/10.27, allocations: 0.5626 MB / 3.813 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/10.27, allocations: 6.938 kB / 3.813 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003001/10.27, allocations: 1.115 MB / 3.815 GB, free: 36.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/10.27, allocations: 3.228 MB / 3.818 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/10.27, allocations: 7.875 kB / 3.818 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/10.27, allocations: 17.72 kB / 3.818 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/10.28, allocations: 273.9 kB / 3.818 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/10.28, allocations: 15.47 kB / 3.818 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/10.28, allocations: 163.1 kB / 3.818 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/10.28, allocations: 55.59 kB / 3.818 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/10.28, allocations: 3.156 kB / 3.818 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/10.28, allocations: 0.8936 MB / 3.819 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/10.28, allocations: 13.38 kB / 3.819 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/10.28, allocations: 10.56 kB / 3.819 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/10.28, allocations: 272.5 kB / 3.819 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/10.28, allocations: 16.78 kB / 3.819 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008364/10.28, allocations: 139.7 kB / 3.819 GB, free: 33.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/10.28, allocations: 55.55 kB / 3.82 GB, free: 33.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002464/10.28, allocations: 140.3 kB / 3.82 GB, free: 33.31 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00246/10.28, allocations: 0.8298 MB / 3.82 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/10.28, allocations: 84.62 kB / 3.821 GB, free: 33.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/10.29, allocations: 3.362 MB / 3.824 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/10.29, allocations: 27.42 kB / 3.824 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/10.29, allocations: 0 / 3.824 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/10.29, allocations: 3.375 kB / 3.824 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/10.29, allocations: 1.825 MB / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/10.29, allocations: 0 / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008037/10.29, allocations: 224.3 kB / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/10.29, allocations: 3.125 kB / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/10.29, allocations: 7.047 kB / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/10.29, allocations: 3.219 kB / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/10.29, allocations: 3.938 kB / 3.826 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/10.29, allocations: 1.332 MB / 3.827 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009341/10.29, allocations: 0.76 MB / 3.828 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/10.29, allocations: 0 / 3.828 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/10.3, allocations: 76.77 kB / 3.828 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/10.3, allocations: 91.44 kB / 3.828 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/10.3, allocations: 32.81 kB / 3.828 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001462/10.3, allocations: 1.345 MB / 3.829 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/10.3, allocations: 0 / 3.829 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007326/10.3, allocations: 1.637 MB / 3.831 GB, free: 31.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse34.phase,$cse34.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0138/10.32, allocations: 3.68 MB / 3.835 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002857/10.32, allocations: 1.221 MB / 3.836 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/10.32, allocations: 0 / 3.836 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/10.32, allocations: 495.2 kB / 3.836 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/10.32, allocations: 459 kB / 3.837 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008943/10.33, allocations: 2.844 MB / 3.84 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009195/10.33, allocations: 1.438 MB / 3.841 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002386/10.34, allocations: 1.669 MB / 3.843 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/10.34, allocations: 0.7079 MB / 3.843 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of SimCode: time 7.91e-07/10.34, allocations: 0 / 3.843 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/10.44, allocations: 60.39 MB / 3.902 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/10.44, allocations: 188.7 kB / 3.902 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.531/14.98, allocations: 3.938 kB / 3.902 GB, free: 12.92 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat