Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",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.001228/0.001228, 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.504/1.504, 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.001069/0.00107, allocations: 88.05 kB / 287 MB, free: 256 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.2339/0.2339, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.324e-05/4.327e-05, allocations: 4 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.175, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.944/8.119, allocations: 2.777 GB / 3.279 GB, free: 92.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/8.119, allocations: 81.45 kB / 3.279 GB, free: 92.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8853/9.005, allocations: 239.4 MB / 3.512 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/9.005, allocations: 0 / 3.512 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.918e-05/9.005, allocations: 19.94 kB / 3.513 GB, free: 68.23 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005462/9.01, allocations: 1.281 MB / 3.514 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/9.01, allocations: 12.03 kB / 3.514 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/9.011, allocations: 66.53 kB / 3.514 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/9.013, allocations: 252.1 kB / 3.514 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007893/9.013, allocations: 424 kB / 3.514 GB, free: 66.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/9.013, allocations: 28.78 kB / 3.515 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/9.014, allocations: 32 kB / 3.515 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/9.015, allocations: 0.6203 MB / 3.515 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/9.015, allocations: 0 / 3.515 GB, free: 65.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/9.015, allocations: 20 kB / 3.515 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/9.015, allocations: 8 kB / 3.515 GB, free: 65.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/9.016, allocations: 0.5299 MB / 3.516 GB, free: 64.85 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.002935/9.019, allocations: 2.727 MB / 3.518 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/9.021, allocations: 0.5022 MB / 3.519 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/9.021, allocations: 144.8 kB / 3.519 GB, free: 61.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04206/9.063, allocations: 24.16 MB / 3.543 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/9.063, allocations: 44.84 kB / 3.543 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 4.539e-06/9.063, allocations: 4 kB / 3.543 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002376/9.065, allocations: 0.658 MB / 3.543 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/9.065, allocations: 102.8 kB / 3.543 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/9.066, allocations: 335.1 kB / 3.544 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/9.066, allocations: 29.7 kB / 3.544 GB, free: 33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/9.066, allocations: 228.1 kB / 3.544 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/9.066, allocations: 94.41 kB / 3.544 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/9.066, allocations: 4 kB / 3.544 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/9.066, allocations: 350.8 kB / 3.544 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/9.066, allocations: 112 kB / 3.544 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/9.067, allocations: 231.3 kB / 3.545 GB, free: 31.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/9.067, allocations: 140.3 kB / 3.545 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/9.067, allocations: 0 / 3.545 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000622/9.067, allocations: 405 kB / 3.545 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003152/9.068, allocations: 1.412 MB / 3.547 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/9.068, allocations: 7.984 kB / 3.547 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/9.068, allocations: 7.984 kB / 3.547 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/9.068, allocations: 107.9 kB / 3.547 GB, free: 29.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/9.068, allocations: 8 kB / 3.547 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/9.069, allocations: 79.5 kB / 3.547 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/9.069, allocations: 19.98 kB / 3.547 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/9.069, allocations: 4 kB / 3.547 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005108/9.069, allocations: 327.9 kB / 3.547 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/9.069, allocations: 4 kB / 3.547 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/9.069, allocations: 8.031 kB / 3.547 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/9.07, allocations: 107.8 kB / 3.547 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/9.07, allocations: 12 kB / 3.547 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/9.07, allocations: 71.55 kB / 3.547 GB, free: 29.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/9.07, allocations: 16 kB / 3.547 GB, free: 29.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001175/9.07, allocations: 136.8 kB / 3.547 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.521e-05/9.07, allocations: 39.53 kB / 3.548 GB, free: 28.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/9.072, allocations: 1.915 MB / 3.549 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/9.072, allocations: 31.94 kB / 3.549 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/9.072, allocations: 0 / 3.549 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/9.072, allocations: 0 / 3.549 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/9.073, allocations: 1.051 MB / 3.55 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/9.073, allocations: 0 / 3.55 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/9.074, allocations: 95.81 kB / 3.551 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/9.074, allocations: 0 / 3.551 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/9.074, allocations: 11.98 kB / 3.551 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/9.074, allocations: 4 kB / 3.551 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/9.074, allocations: 0 / 3.551 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/9.075, allocations: 1.034 MB / 3.552 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/9.075, allocations: 271.3 kB / 3.552 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/9.075, allocations: 8 kB / 3.552 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/9.075, allocations: 39.97 kB / 3.552 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/9.076, allocations: 39.88 kB / 3.552 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/9.076, allocations: 16 kB / 3.552 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003957/9.076, allocations: 365.6 kB / 3.552 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/9.076, allocations: 4 kB / 3.552 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006588/9.083, allocations: 1.167 MB / 3.553 GB, free: 22.8 MB / 0.5261 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,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01091/9.094, allocations: 2.925 MB / 3.556 GB, free: 19.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001293/9.095, allocations: 0.7397 MB / 3.557 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/9.095, allocations: 0 / 3.557 GB, free: 19.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/9.095, allocations: 493.8 kB / 3.557 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/9.097, allocations: 220.8 kB / 3.558 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/9.103, allocations: 1.695 MB / 3.559 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/9.104, allocations: 1.008 MB / 3.56 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001092/9.105, allocations: 0.5676 MB / 3.561 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/9.105, allocations: 275.3 kB / 3.561 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of SimCode: time 3.076e-06/9.105, allocations: 0 / 3.561 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3898/9.495, allocations: 43.64 MB / 3.604 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/9.495, allocations: 210.7 kB / 3.604 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/12.91, allocations: 2.109 kB / 3.604 GB, free: 77.04 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat