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.001668/0.001668, allocations: 175.8 kB / 17.06 MB, free: 5.098 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.652/1.652, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 102.3 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4313/0.4313, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 8 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4855, allocations: 61.89 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/7.121, allocations: 2.777 GB / 3.287 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/7.121, allocations: 97.77 kB / 3.287 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8462/7.968, allocations: 240.1 MB / 3.521 GB, free: 79.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/7.968, allocations: 0 / 3.521 GB, free: 79.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.665e-05/7.968, allocations: 9.719 kB / 3.521 GB, free: 79.65 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.006131/7.974, allocations: 1.34 MB / 3.522 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/7.974, allocations: 12.31 kB / 3.522 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/7.974, allocations: 72.45 kB / 3.523 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/7.976, allocations: 251.3 kB / 3.523 GB, free: 78.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/7.977, allocations: 424.7 kB / 3.523 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/7.977, allocations: 33.84 kB / 3.523 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/7.977, allocations: 31.09 kB / 3.523 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/7.978, allocations: 0.6299 MB / 3.524 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/7.978, allocations: 2.531 kB / 3.524 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/7.978, allocations: 19.41 kB / 3.524 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/7.978, allocations: 7.125 kB / 3.524 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/7.98, allocations: 0.5865 MB / 3.524 GB, free: 78.54 MB / 0.5261 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.00277/7.983, allocations: 2.726 MB / 3.527 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/7.984, allocations: 0.5538 MB / 3.528 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04359/8.028, allocations: 24.07 MB / 3.551 GB, free: 61.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/8.028, allocations: 35.66 kB / 3.551 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/8.028, allocations: 0 / 3.551 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002528/8.03, allocations: 0.8266 MB / 3.552 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/8.031, allocations: 107.2 kB / 3.552 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/8.031, allocations: 341.8 kB / 3.552 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/8.031, allocations: 32.98 kB / 3.552 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/8.031, allocations: 227.7 kB / 3.553 GB, free: 61.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/8.031, allocations: 100 kB / 3.553 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/8.031, allocations: 11.34 kB / 3.553 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/8.031, allocations: 346.5 kB / 3.553 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/8.032, allocations: 155 kB / 3.553 GB, free: 61.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/8.032, allocations: 278.4 kB / 3.554 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/8.032, allocations: 174.6 kB / 3.554 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/8.032, allocations: 0 / 3.554 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008773/8.033, allocations: 499.5 kB / 3.554 GB, free: 60.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002866/8.034, allocations: 1.398 MB / 3.556 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/8.034, allocations: 2.375 kB / 3.556 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/8.034, allocations: 11.45 kB / 3.556 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/8.034, allocations: 107.7 kB / 3.556 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/8.034, allocations: 6.719 kB / 3.556 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/8.034, allocations: 79.36 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/8.035, allocations: 15.19 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/8.035, allocations: 3.906 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008017/8.035, allocations: 425.1 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/8.035, allocations: 3.625 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/8.035, allocations: 6.5 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/8.036, allocations: 108.8 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/8.036, allocations: 7.781 kB / 3.556 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/8.036, allocations: 75.14 kB / 3.556 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/8.036, allocations: 21.02 kB / 3.556 GB, free: 59.45 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 () * Number of clocked 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.0002063/8.036, allocations: 251.3 kB / 3.557 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/8.036, allocations: 38.88 kB / 3.557 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/8.038, allocations: 1.952 MB / 3.559 GB, free: 58.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/8.038, allocations: 37.3 kB / 3.559 GB, free: 58.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/8.038, allocations: 3.938 kB / 3.559 GB, free: 58.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/8.038, allocations: 0 / 3.559 GB, free: 58.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/8.039, allocations: 1.055 MB / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/8.039, allocations: 0 / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/8.04, allocations: 89.25 kB / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/8.04, allocations: 0 / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/8.04, allocations: 7.594 kB / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/8.04, allocations: 3.562 kB / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/8.04, allocations: 0 / 3.56 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/8.041, allocations: 1.114 MB / 3.561 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/8.041, allocations: 268.5 kB / 3.561 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/8.041, allocations: 7.594 kB / 3.561 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/8.042, allocations: 36.38 kB / 3.561 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/8.042, allocations: 41.89 kB / 3.561 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/8.042, allocations: 15.77 kB / 3.561 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003489/8.042, allocations: 376.3 kB / 3.562 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.042, allocations: 0 / 3.562 GB, free: 58.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005535/8.048, allocations: 1.175 MB / 3.563 GB, free: 58.04 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 () * Number of clocked 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.009433/8.057, allocations: 2.997 MB / 3.566 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001547/8.059, allocations: 0.8578 MB / 3.566 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/8.059, allocations: 0 / 3.566 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/8.059, allocations: 0.5189 MB / 3.567 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/8.061, allocations: 224 kB / 3.567 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/8.066, allocations: 5.109 MB / 3.572 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/8.066, allocations: 1.004 MB / 3.573 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007332/8.067, allocations: 0.535 MB / 3.574 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/8.067, allocations: 284.5 kB / 3.574 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/8.067, allocations: 0 / 3.574 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06285/8.13, allocations: 40.96 MB / 3.614 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/8.13, allocations: 247.8 kB / 3.614 GB, free: 50.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/11.8, allocations: 0 / 3.614 GB, free: 50.12 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