Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.001311/0.001311, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.613/1.613, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008655/0.0008655, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2085/0.2085, allocations: 43.55 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003139, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.291/6.412, allocations: 2.754 GB / 3.233 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/6.412, allocations: 88.16 kB / 3.233 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7695/7.182, allocations: 217.4 MB / 3.445 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/7.182, allocations: 0 / 3.445 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.121e-05/7.182, allocations: 13.55 kB / 3.445 GB, free: 92.06 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004819/7.187, allocations: 1.231 MB / 3.446 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/7.187, allocations: 7.938 kB / 3.446 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.293e-05/7.187, allocations: 65.47 kB / 3.447 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/7.189, allocations: 231.4 kB / 3.447 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/7.189, allocations: 367 kB / 3.447 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/7.189, allocations: 27.41 kB / 3.447 GB, free: 90.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/7.189, allocations: 26.47 kB / 3.447 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/7.191, allocations: 0.6125 MB / 3.448 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/7.191, allocations: 0 / 3.448 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/7.191, allocations: 11.94 kB / 3.448 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/7.191, allocations: 11.52 kB / 3.448 GB, free: 90.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/7.192, allocations: 0.5881 MB / 3.448 GB, free: 90.58 MB / 0.5105 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.00244/7.195, allocations: 2.61 MB / 3.451 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/7.196, allocations: 483 kB / 3.451 GB, free: 88.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03825/7.234, allocations: 24.07 MB / 3.475 GB, free: 73.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/7.234, allocations: 38.5 kB / 3.475 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/7.234, allocations: 0 / 3.475 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002651/7.237, allocations: 0.863 MB / 3.476 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/7.237, allocations: 106.8 kB / 3.476 GB, free: 72.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/7.238, allocations: 275.1 kB / 3.476 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/7.238, allocations: 29.7 kB / 3.476 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/7.238, allocations: 209.9 kB / 3.476 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/7.238, allocations: 88.33 kB / 3.476 GB, free: 72.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/7.238, allocations: 11.59 kB / 3.476 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/7.238, allocations: 337.4 kB / 3.477 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/7.238, allocations: 153.4 kB / 3.477 GB, free: 72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/7.239, allocations: 252.1 kB / 3.477 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/7.239, allocations: 173.2 kB / 3.477 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/7.239, allocations: 0 / 3.477 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009242/7.24, allocations: 455.7 kB / 3.478 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/7.24, allocations: 11.7 kB / 3.478 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/7.24, allocations: 3.594 kB / 3.478 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/7.24, allocations: 7.562 kB / 3.478 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/7.24, allocations: 106.5 kB / 3.478 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/7.24, allocations: 3.562 kB / 3.478 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/7.241, allocations: 64.61 kB / 3.478 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/7.241, allocations: 14.91 kB / 3.478 GB, free: 71.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001773/7.241, allocations: 173.2 kB / 3.478 GB, free: 71.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/7.241, allocations: 34.59 kB / 3.478 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/7.243, allocations: 1.949 MB / 3.48 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/7.243, allocations: 30.97 kB / 3.48 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/7.243, allocations: 0 / 3.48 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/7.243, allocations: 3.656 kB / 3.48 GB, free: 70.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/7.244, allocations: 1.005 MB / 3.481 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/7.244, allocations: 0 / 3.481 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/7.244, allocations: 92.67 kB / 3.481 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/7.244, allocations: 0 / 3.481 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/7.244, allocations: 7.5 kB / 3.481 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/7.244, allocations: 3.953 kB / 3.481 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/7.244, allocations: 0 / 3.481 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/7.246, allocations: 1.116 MB / 3.482 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/7.246, allocations: 214.8 kB / 3.482 GB, free: 69.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/7.246, allocations: 6.969 kB / 3.482 GB, free: 69.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/7.246, allocations: 61.67 kB / 3.483 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/7.246, allocations: 38.58 kB / 3.483 GB, free: 69.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/7.246, allocations: 11.75 kB / 3.483 GB, free: 69.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002957/7.247, allocations: 320.6 kB / 3.483 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/7.247, allocations: 0 / 3.483 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004794/7.251, allocations: 1.017 MB / 3.484 GB, free: 68.88 MB / 0.5105 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.009864/7.261, allocations: 2.935 MB / 3.487 GB, free: 67.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001354/7.263, allocations: 0.6274 MB / 3.487 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/7.263, allocations: 0 / 3.487 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000637/7.263, allocations: 0.5283 MB / 3.488 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/7.265, allocations: 199.8 kB / 3.488 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/7.272, allocations: 5.186 MB / 3.493 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/7.273, allocations: 0.988 MB / 3.494 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004992/7.273, allocations: 258.6 kB / 3.494 GB, free: 63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/7.274, allocations: 248.8 kB / 3.495 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/7.274, allocations: 0 / 3.495 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06516/7.339, allocations: 39.04 MB / 3.533 GB, free: 51.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/7.339, allocations: 238.3 kB / 3.533 GB, free: 51.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.141/10.48, allocations: 4 kB / 3.533 GB, free: 51.55 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat