Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",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.001213/0.001213, allocations: 183.2 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.573/1.573, 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.0009819/0.0009817, allocations: 86.83 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.1966/0.1966, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003122, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 58.85 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.321/6.446, allocations: 2.8 GB / 3.279 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/6.447, allocations: 88.78 kB / 3.279 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7841/7.231, allocations: 237.7 MB / 3.511 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/7.231, allocations: 3.938 kB / 3.511 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.814e-05/7.231, allocations: 7.625 kB / 3.511 GB, free: 75.23 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005306/7.236, allocations: 1.36 MB / 3.513 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/7.236, allocations: 7.781 kB / 3.513 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.398e-05/7.236, allocations: 73.28 kB / 3.513 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/7.238, allocations: 262.5 kB / 3.513 GB, free: 74.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/7.239, allocations: 409.7 kB / 3.513 GB, free: 73.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/7.239, allocations: 29 kB / 3.513 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/7.239, allocations: 36 kB / 3.514 GB, free: 73.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/7.241, allocations: 0.6727 MB / 3.514 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/7.241, allocations: 7.953 kB / 3.514 GB, free: 73.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/7.241, allocations: 16 kB / 3.514 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/7.241, allocations: 8 kB / 3.514 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/7.243, allocations: 0.6508 MB / 3.515 GB, free: 72.75 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.00287/7.245, allocations: 2.85 MB / 3.518 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/7.247, allocations: 0.5184 MB / 3.518 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0393/7.286, allocations: 24.19 MB / 3.542 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/7.286, allocations: 34.55 kB / 3.542 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 1.933e-06/7.286, allocations: 0 / 3.542 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.003017/7.289, allocations: 0.9002 MB / 3.543 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/7.29, allocations: 110.8 kB / 3.543 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/7.29, allocations: 340.8 kB / 3.543 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/7.29, allocations: 33.69 kB / 3.543 GB, free: 43.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/7.29, allocations: 220.1 kB / 3.543 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/7.29, allocations: 90.56 kB / 3.543 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/7.29, allocations: 12 kB / 3.543 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/7.29, allocations: 346.8 kB / 3.544 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/7.291, allocations: 176.5 kB / 3.544 GB, free: 42.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/7.291, allocations: 289.9 kB / 3.544 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/7.292, allocations: 203.2 kB / 3.544 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/7.292, allocations: 3.938 kB / 3.544 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001221/7.293, allocations: 0.5095 MB / 3.545 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/7.293, allocations: 1.055 MB / 3.546 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/7.293, allocations: 0 / 3.546 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/7.293, allocations: 15.95 kB / 3.546 GB, free: 39.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/7.294, allocations: 111.8 kB / 3.546 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/7.294, allocations: 7.938 kB / 3.546 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/7.294, allocations: 87.62 kB / 3.546 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/7.294, allocations: 16 kB / 3.546 GB, free: 39.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/7.294, allocations: 8 kB / 3.546 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/7.295, allocations: 451.6 kB / 3.547 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/7.295, allocations: 4 kB / 3.547 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/7.295, allocations: 4 kB / 3.547 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/7.296, allocations: 116 kB / 3.547 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/7.296, allocations: 4 kB / 3.547 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/7.296, allocations: 91.53 kB / 3.547 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/7.296, allocations: 12 kB / 3.547 GB, free: 39.08 MB / 0.5105 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.0002287/7.296, allocations: 249 kB / 3.547 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/7.297, allocations: 47.56 kB / 3.547 GB, free: 38.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/7.299, allocations: 1.997 MB / 3.549 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/7.299, allocations: 31.94 kB / 3.549 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/7.299, allocations: 0 / 3.549 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/7.299, allocations: 7.938 kB / 3.549 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/7.3, allocations: 1.047 MB / 3.55 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/7.3, allocations: 4 kB / 3.55 GB, free: 35.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/7.3, allocations: 99.86 kB / 3.55 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/7.3, allocations: 0 / 3.55 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/7.3, allocations: 8 kB / 3.55 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/7.3, allocations: 4 kB / 3.55 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/7.3, allocations: 3.938 kB / 3.55 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/7.302, allocations: 1.165 MB / 3.551 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/7.302, allocations: 267.3 kB / 3.552 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/7.302, allocations: 4 kB / 3.552 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/7.302, allocations: 55.95 kB / 3.552 GB, free: 34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/7.302, allocations: 39.69 kB / 3.552 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/7.302, allocations: 16 kB / 3.552 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003451/7.303, allocations: 370.8 kB / 3.552 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.62e-07/7.303, allocations: 0 / 3.552 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004796/7.308, allocations: 1.174 MB / 3.553 GB, free: 32.41 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,$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.009469/7.317, allocations: 3.037 MB / 3.556 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002133/7.319, allocations: 0.9134 MB / 3.557 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/7.319, allocations: 4.188 kB / 3.557 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007078/7.32, allocations: 0.5522 MB / 3.558 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/7.321, allocations: 224 kB / 3.558 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00828/7.33, allocations: 5.719 MB / 3.563 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/7.33, allocations: 1.003 MB / 3.564 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007797/7.331, allocations: 0.5375 MB / 3.565 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/7.331, allocations: 275.3 kB / 3.565 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of SimCode: time 1.163e-06/7.331, allocations: 0 / 3.565 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3524/7.683, allocations: 41.09 MB / 3.605 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/7.684, allocations: 240.5 kB / 3.606 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/10.98, allocations: 0 / 3.606 GB, free: 69.09 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat