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.001524/0.001524, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009382/0.0009383, allocations: 98.34 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3966/0.3966, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4465, allocations: 63.25 MB / 0.5193 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.208/7.654, allocations: 2.807 GB / 3.326 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/7.655, allocations: 91.36 kB / 3.326 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9561/8.611, allocations: 240.2 MB / 3.561 GB, free: 74.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.255e-06/8.611, allocations: 0 / 3.561 GB, free: 74.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.992e-05/8.611, allocations: 11.69 kB / 3.561 GB, free: 74.39 MB / 0.5417 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.006846/8.618, allocations: 1.363 MB / 3.562 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/8.618, allocations: 11.53 kB / 3.562 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/8.618, allocations: 69.64 kB / 3.562 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/8.621, allocations: 266 kB / 3.562 GB, free: 73.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/8.622, allocations: 412.7 kB / 3.563 GB, free: 73.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/8.622, allocations: 32.22 kB / 3.563 GB, free: 73.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/8.622, allocations: 35.16 kB / 3.563 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/8.624, allocations: 0.6706 MB / 3.563 GB, free: 72.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/8.624, allocations: 3.953 kB / 3.563 GB, free: 72.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/8.624, allocations: 23.47 kB / 3.563 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/8.624, allocations: 11.78 kB / 3.563 GB, free: 72.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/8.626, allocations: 0.6433 MB / 3.564 GB, free: 72.66 MB / 0.5417 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.003423/8.629, allocations: 2.835 MB / 3.567 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/8.631, allocations: 0.5261 MB / 3.567 GB, free: 70.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04696/8.678, allocations: 26.76 MB / 3.593 GB, free: 50.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/8.678, allocations: 38.5 kB / 3.593 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 4.589e-06/8.678, allocations: 3.984 kB / 3.593 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.003559/8.682, allocations: 0.8994 MB / 3.594 GB, free: 50.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/8.682, allocations: 110.8 kB / 3.594 GB, free: 49.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/8.682, allocations: 333.2 kB / 3.595 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/8.682, allocations: 33.7 kB / 3.595 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/8.682, allocations: 230.1 kB / 3.595 GB, free: 49.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/8.683, allocations: 93.11 kB / 3.595 GB, free: 49.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/8.683, allocations: 8 kB / 3.595 GB, free: 49.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/8.683, allocations: 348.6 kB / 3.595 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/8.683, allocations: 175.3 kB / 3.596 GB, free: 48.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/8.684, allocations: 294 kB / 3.596 GB, free: 48.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/8.684, allocations: 193 kB / 3.596 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/8.684, allocations: 0 / 3.596 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001376/8.686, allocations: 0.5135 MB / 3.597 GB, free: 47.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003089/8.686, allocations: 1.051 MB / 3.598 GB, free: 46.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/8.686, allocations: 0 / 3.598 GB, free: 46.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/8.686, allocations: 7.953 kB / 3.598 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/8.687, allocations: 123.8 kB / 3.598 GB, free: 46.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/8.687, allocations: 7.938 kB / 3.598 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005917/8.687, allocations: 83.58 kB / 3.598 GB, free: 46.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/8.687, allocations: 19.98 kB / 3.598 GB, free: 46.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/8.687, allocations: 4 kB / 3.598 GB, free: 46.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/8.689, allocations: 455.6 kB / 3.598 GB, free: 45.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/8.689, allocations: 8 kB / 3.598 GB, free: 45.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/8.689, allocations: 7.938 kB / 3.598 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/8.689, allocations: 112.1 kB / 3.598 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/8.689, allocations: 7.938 kB / 3.598 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/8.69, allocations: 79.61 kB / 3.598 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/8.69, allocations: 19.98 kB / 3.599 GB, free: 45.67 MB / 0.5417 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 () * Number of clocked 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.0002829/8.69, allocations: 241 kB / 3.599 GB, free: 45.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/8.69, allocations: 43.52 kB / 3.599 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/8.693, allocations: 2.002 MB / 3.601 GB, free: 43.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/8.693, allocations: 27.95 kB / 3.601 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/8.693, allocations: 7.938 kB / 3.601 GB, free: 43.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/8.693, allocations: 3.984 kB / 3.601 GB, free: 43.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/8.694, allocations: 1.043 MB / 3.602 GB, free: 42.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/8.694, allocations: 0 / 3.602 GB, free: 42.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/8.694, allocations: 99.91 kB / 3.602 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/8.694, allocations: 0 / 3.602 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/8.694, allocations: 12 kB / 3.602 GB, free: 42.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/8.694, allocations: 4 kB / 3.602 GB, free: 42.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/8.694, allocations: 4 kB / 3.602 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/8.696, allocations: 1.157 MB / 3.603 GB, free: 40.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/8.696, allocations: 271.2 kB / 3.603 GB, free: 40.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/8.697, allocations: 12 kB / 3.603 GB, free: 40.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/8.697, allocations: 55.95 kB / 3.603 GB, free: 40.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/8.697, allocations: 35.94 kB / 3.603 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/8.697, allocations: 16 kB / 3.603 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004601/8.698, allocations: 370.8 kB / 3.604 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/8.698, allocations: 7.938 kB / 3.604 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005789/8.703, allocations: 1.175 MB / 3.605 GB, free: 39 MB / 0.5417 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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 (38): * Single equations (assignments): 29 * 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.01065/8.714, allocations: 3.061 MB / 3.608 GB, free: 36.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002347/8.716, allocations: 0.9051 MB / 3.609 GB, free: 35.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/8.717, allocations: 0 / 3.609 GB, free: 35.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/8.717, allocations: 0.5496 MB / 3.609 GB, free: 34.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/8.719, allocations: 224 kB / 3.61 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/8.729, allocations: 5.712 MB / 3.615 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/8.73, allocations: 0.9992 MB / 3.616 GB, free: 27.55 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008291/8.731, allocations: 0.5417 MB / 3.617 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/8.731, allocations: 279.3 kB / 3.617 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of SimCode: time 1.193e-06/8.731, allocations: 3.938 kB / 3.617 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/9.091, allocations: 41.21 MB / 3.657 GB, free: 84.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/9.091, allocations: 232.1 kB / 3.657 GB, free: 83.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.767/12.86, allocations: 0 / 3.657 GB, free: 83.93 MB / 0.5417 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