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.002169/0.002169, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008954/0.0008953, allocations: 93.53 kB / 281.6 MB, free: 5.336 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.2153/0.2153, allocations: 44.15 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.982e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1531, allocations: 61.92 MB / 0.4948 GB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.095/8.248, allocations: 2.776 GB / 3.271 GB, free: 117 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/8.248, allocations: 80.92 kB / 3.271 GB, free: 117 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8857/9.134, allocations: 236.6 MB / 3.502 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/9.134, allocations: 0 / 3.502 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.115e-05/9.134, allocations: 11.78 kB / 3.502 GB, free: 92.32 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.004798/9.139, allocations: 1.279 MB / 3.503 GB, free: 91.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/9.139, allocations: 11.67 kB / 3.503 GB, free: 91.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/9.141, allocations: 253.9 kB / 3.504 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/9.142, allocations: 420.5 kB / 3.504 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/9.142, allocations: 15.53 kB / 3.504 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/9.142, allocations: 18.91 kB / 3.504 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004914/9.142, allocations: 342.1 kB / 3.504 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/9.143, allocations: 421.6 kB / 3.505 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/9.143, allocations: 3.938 kB / 3.505 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/9.143, allocations: 3.312 kB / 3.505 GB, free: 90.78 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/9.143, allocations: 15.09 kB / 3.505 GB, free: 90.77 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.01638/9.159, allocations: 10.25 MB / 3.515 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/9.16, allocations: 297.5 kB / 3.515 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/9.16, allocations: 140.3 kB / 3.515 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04239/9.203, allocations: 24.16 MB / 3.539 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/9.203, allocations: 50.48 kB / 3.539 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.985e-06/9.203, allocations: 0 / 3.539 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002333/9.205, allocations: 0.5727 MB / 3.539 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/9.205, allocations: 110.4 kB / 3.539 GB, free: 66.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/9.205, allocations: 276.7 kB / 3.54 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/9.205, allocations: 25.7 kB / 3.54 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/9.206, allocations: 241.8 kB / 3.54 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/9.206, allocations: 85.14 kB / 3.54 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/9.206, allocations: 7.938 kB / 3.54 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/9.206, allocations: 345.6 kB / 3.54 GB, free: 65.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/9.206, allocations: 95.61 kB / 3.541 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/9.206, allocations: 230 kB / 3.541 GB, free: 65.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/9.207, allocations: 221.2 kB / 3.541 GB, free: 65.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/9.207, allocations: 11.52 kB / 3.541 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001087/9.208, allocations: 455.5 kB / 3.541 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002963/9.208, allocations: 1.402 MB / 3.543 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/9.208, allocations: 4 kB / 3.543 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/9.208, allocations: 7.953 kB / 3.543 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/9.209, allocations: 111.8 kB / 3.543 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/9.209, allocations: 8 kB / 3.543 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/9.209, allocations: 62 kB / 3.543 GB, free: 63.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/9.209, allocations: 23.09 kB / 3.543 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/9.209, allocations: 5.25 kB / 3.543 GB, free: 63.21 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008594/9.21, allocations: 351 kB / 3.543 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/9.21, allocations: 4 kB / 3.543 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/9.21, allocations: 8 kB / 3.543 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/9.211, allocations: 105.8 kB / 3.543 GB, free: 62.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/9.211, allocations: 7.938 kB / 3.543 GB, free: 62.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/9.211, allocations: 57.83 kB / 3.543 GB, free: 62.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/9.211, allocations: 19.33 kB / 3.543 GB, free: 62.74 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.0001027/9.211, allocations: 116.8 kB / 3.544 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009367/9.212, allocations: 373.2 kB / 3.544 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/9.212, allocations: 35.62 kB / 3.544 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/9.214, allocations: 1.709 MB / 3.546 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/9.214, allocations: 36.03 kB / 3.546 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/9.214, allocations: 0 / 3.546 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/9.214, allocations: 2.672 kB / 3.546 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/9.215, allocations: 0.8804 MB / 3.547 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/9.215, allocations: 4 kB / 3.547 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/9.215, allocations: 88.58 kB / 3.547 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/9.215, allocations: 0 / 3.547 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/9.215, allocations: 6.391 kB / 3.547 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/9.215, allocations: 0 / 3.547 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/9.215, allocations: 0 / 3.547 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/9.216, allocations: 0.9896 MB / 3.548 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/9.217, allocations: 255 kB / 3.548 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/9.217, allocations: 0 / 3.548 GB, free: 58.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/9.217, allocations: 35.22 kB / 3.548 GB, free: 58.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/9.217, allocations: 41.67 kB / 3.548 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/9.217, allocations: 12 kB / 3.548 GB, free: 58.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002743/9.218, allocations: 317.4 kB / 3.548 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/9.218, allocations: 0 / 3.548 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005281/9.223, allocations: 1.149 MB / 3.549 GB, free: 57.25 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.00823/9.231, allocations: 2.919 MB / 3.552 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001025/9.232, allocations: 0.6584 MB / 3.553 GB, free: 54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/9.232, allocations: 4 kB / 3.553 GB, free: 54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/9.233, allocations: 443.6 kB / 3.553 GB, free: 53.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/9.234, allocations: 178.8 kB / 3.553 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/9.239, allocations: 1.588 MB / 3.555 GB, free: 52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/9.239, allocations: 0.9895 MB / 3.556 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008755/9.24, allocations: 0.5636 MB / 3.557 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/9.24, allocations: 270.3 kB / 3.557 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/9.24, allocations: 0 / 3.557 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07317/9.314, allocations: 37.29 MB / 3.593 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/9.314, allocations: 188.9 kB / 3.593 GB, free: 17.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/12.56, allocations: 0 / 3.593 GB, free: 17.38 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