Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 197.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009133/0.0009135, allocations: 96.56 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 45.14 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.449e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.803/7.927, allocations: 2.806 GB / 3.31 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/7.927, allocations: 79.95 kB / 3.31 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.004/8.931, allocations: 236.6 MB / 3.542 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.475e-06/8.931, allocations: 0 / 3.542 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.79e-05/8.931, allocations: 11.59 kB / 3.542 GB, free: 79.36 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00637/8.938, allocations: 1.31 MB / 3.543 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/8.938, allocations: 11.25 kB / 3.543 GB, free: 78.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/8.94, allocations: 257.8 kB / 3.543 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/8.941, allocations: 424.4 kB / 3.543 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/8.941, allocations: 18.19 kB / 3.544 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/8.941, allocations: 16.97 kB / 3.544 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007369/8.942, allocations: 346.2 kB / 3.544 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/8.943, allocations: 423.2 kB / 3.544 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/8.943, allocations: 11.09 kB / 3.544 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/8.943, allocations: 0 / 3.544 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/8.943, allocations: 7.625 kB / 3.544 GB, free: 77.5 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.01928/8.962, allocations: 11.07 MB / 3.555 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/8.963, allocations: 254.8 kB / 3.555 GB, free: 65.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/8.963, allocations: 137.4 kB / 3.555 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04696/9.01, allocations: 26.83 MB / 3.582 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/9.01, allocations: 42.5 kB / 3.582 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/9.01, allocations: 0 / 3.582 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.002475/9.012, allocations: 0.5649 MB / 3.582 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/9.012, allocations: 106.8 kB / 3.582 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/9.013, allocations: 266.5 kB / 3.583 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/9.013, allocations: 29.7 kB / 3.583 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/9.013, allocations: 240 kB / 3.583 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/9.013, allocations: 78.75 kB / 3.583 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/9.013, allocations: 0 / 3.583 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001063/9.013, allocations: 350.8 kB / 3.583 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/9.014, allocations: 96.64 kB / 3.583 GB, free: 33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/9.014, allocations: 201.8 kB / 3.584 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/9.015, allocations: 201 kB / 3.584 GB, free: 32.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/9.015, allocations: 8 kB / 3.584 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001263/9.016, allocations: 425.4 kB / 3.584 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003804/9.017, allocations: 1.051 MB / 3.585 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/9.017, allocations: 4 kB / 3.585 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/9.017, allocations: 4 kB / 3.585 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/9.017, allocations: 111.8 kB / 3.585 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/9.017, allocations: 11.95 kB / 3.585 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/9.018, allocations: 83.53 kB / 3.585 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/9.018, allocations: 23.92 kB / 3.585 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/9.018, allocations: 5.562 kB / 3.585 GB, free: 30.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009423/9.019, allocations: 323.6 kB / 3.586 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/9.019, allocations: 4.344 kB / 3.586 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/9.019, allocations: 8 kB / 3.586 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/9.019, allocations: 115.8 kB / 3.586 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/9.019, allocations: 4 kB / 3.586 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/9.02, allocations: 67.78 kB / 3.586 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/9.02, allocations: 16 kB / 3.586 GB, free: 30.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001697/9.02, allocations: 116.9 kB / 3.586 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001083/9.021, allocations: 357.6 kB / 3.586 GB, free: 29.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/9.021, allocations: 31.62 kB / 3.586 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/9.024, allocations: 1.685 MB / 3.588 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/9.024, allocations: 27.95 kB / 3.588 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/9.024, allocations: 0 / 3.588 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/9.024, allocations: 0 / 3.588 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/9.025, allocations: 0.8891 MB / 3.589 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/9.025, allocations: 0 / 3.589 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/9.025, allocations: 99.86 kB / 3.589 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/9.025, allocations: 4 kB / 3.589 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/9.025, allocations: 0 / 3.589 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/9.025, allocations: 4 kB / 3.589 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/9.025, allocations: 4 kB / 3.589 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/9.027, allocations: 0.9671 MB / 3.59 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/9.027, allocations: 251.6 kB / 3.59 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/9.027, allocations: 0 / 3.59 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/9.027, allocations: 63.73 kB / 3.59 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/9.028, allocations: 39.94 kB / 3.59 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/9.028, allocations: 8 kB / 3.59 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003799/9.028, allocations: 310.9 kB / 3.591 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/9.028, allocations: 0 / 3.591 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006674/9.035, allocations: 1.155 MB / 3.592 GB, free: 24.15 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * 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.01288/9.048, allocations: 2.924 MB / 3.595 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001557/9.049, allocations: 0.6364 MB / 3.595 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/9.049, allocations: 0 / 3.595 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000651/9.05, allocations: 437.1 kB / 3.596 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/9.051, allocations: 184.9 kB / 3.596 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/9.059, allocations: 1.567 MB / 3.597 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/9.06, allocations: 0.9878 MB / 3.598 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009567/9.061, allocations: 0.5562 MB / 3.599 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/9.061, allocations: 263.3 kB / 3.599 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/9.061, allocations: 0 / 3.599 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5839/9.645, allocations: 37.27 MB / 3.636 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/9.645, allocations: 184 kB / 3.636 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/13.19, allocations: 0 / 3.636 GB, free: 76.61 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat