Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002061/0.002067, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 84.2 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.707e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4582, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.453/8.912, allocations: 2.8 GB / 3.266 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/8.912, allocations: 83.38 kB / 3.266 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.221/10.13, allocations: 234.1 MB / 3.494 GB, free: 79.3 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.903e-06/10.13, allocations: 0 / 3.494 GB, free: 79.3 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 4.317e-05/10.13, allocations: 18.52 kB / 3.494 GB, free: 79.3 MB / 0.4952 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.006604/10.14, allocations: 1.309 MB / 3.496 GB, free: 78.58 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/10.14, allocations: 7.656 kB / 3.496 GB, free: 78.58 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/10.14, allocations: 258.6 kB / 3.496 GB, free: 78.55 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/10.14, allocations: 406.6 kB / 3.496 GB, free: 78.31 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/10.14, allocations: 15.72 kB / 3.496 GB, free: 78.31 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.167e-05/10.14, allocations: 17.75 kB / 3.496 GB, free: 78.31 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009001/10.14, allocations: 346.4 kB / 3.497 GB, free: 78.31 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/10.15, allocations: 437.2 kB / 3.497 GB, free: 78.16 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/10.15, allocations: 3.906 kB / 3.497 GB, free: 78.16 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/10.15, allocations: 3.25 kB / 3.497 GB, free: 78.16 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/10.15, allocations: 7.406 kB / 3.497 GB, free: 78.16 MB / 0.4952 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.02896/10.17, allocations: 10.36 MB / 3.507 GB, free: 71.67 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/10.18, allocations: 251.6 kB / 3.507 GB, free: 71.64 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/10.18, allocations: 135.2 kB / 3.508 GB, free: 71.63 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07413/10.25, allocations: 24.28 MB / 3.531 GB, free: 56.87 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/10.25, allocations: 37.59 kB / 3.531 GB, free: 56.83 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=26): time 3.606e-06/10.25, allocations: 3.938 kB / 3.531 GB, free: 56.83 MB / 0.4952 GB Notification: Performance of matching and sorting (n=26): time 0.00293/10.25, allocations: 0.5632 MB / 3.532 GB, free: 56.77 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/10.25, allocations: 110.6 kB / 3.532 GB, free: 56.64 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/10.25, allocations: 261.6 kB / 3.532 GB, free: 56.54 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/10.25, allocations: 25.7 kB / 3.532 GB, free: 56.51 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/10.25, allocations: 279.9 kB / 3.532 GB, free: 56.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/10.25, allocations: 90.16 kB / 3.533 GB, free: 56.23 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/10.25, allocations: 2.812 kB / 3.533 GB, free: 56.23 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/10.25, allocations: 327.3 kB / 3.533 GB, free: 55.92 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/10.25, allocations: 100.7 kB / 3.533 GB, free: 55.91 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/10.25, allocations: 212.6 kB / 3.533 GB, free: 55.79 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/10.26, allocations: 200.9 kB / 3.533 GB, free: 55.79 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/10.26, allocations: 0 / 3.533 GB, free: 55.79 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00175/10.26, allocations: 408.2 kB / 3.534 GB, free: 55.73 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/10.26, allocations: 1.058 MB / 3.535 GB, free: 54.63 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/10.26, allocations: 3.781 kB / 3.535 GB, free: 54.63 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/10.26, allocations: 3.844 kB / 3.535 GB, free: 54.63 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000855/10.26, allocations: 113.8 kB / 3.535 GB, free: 54.62 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/10.26, allocations: 11.8 kB / 3.535 GB, free: 54.62 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/10.26, allocations: 69.31 kB / 3.535 GB, free: 54.61 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/10.26, allocations: 19.16 kB / 3.535 GB, free: 54.61 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/10.26, allocations: 3.969 kB / 3.535 GB, free: 54.61 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001442/10.26, allocations: 335.2 kB / 3.535 GB, free: 54.58 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/10.26, allocations: 3.312 kB / 3.535 GB, free: 54.58 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/10.26, allocations: 3.969 kB / 3.535 GB, free: 54.58 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008036/10.26, allocations: 111 kB / 3.535 GB, free: 54.57 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/10.26, allocations: 3.781 kB / 3.535 GB, free: 54.57 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/10.26, allocations: 72.02 kB / 3.535 GB, free: 54.55 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/10.26, allocations: 19.17 kB / 3.536 GB, free: 54.55 MB / 0.4952 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.0001651/10.26, allocations: 116.3 kB / 3.536 GB, free: 54.44 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001684/10.26, allocations: 348.2 kB / 3.536 GB, free: 54.32 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/10.26, allocations: 39.09 kB / 3.536 GB, free: 54.3 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/10.27, allocations: 1.689 MB / 3.538 GB, free: 53.51 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/10.27, allocations: 27.52 kB / 3.538 GB, free: 53.5 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/10.27, allocations: 0 / 3.538 GB, free: 53.5 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.038e-06/10.27, allocations: 3.781 kB / 3.538 GB, free: 53.5 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/10.27, allocations: 0.8753 MB / 3.539 GB, free: 53.01 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/10.27, allocations: 0 / 3.539 GB, free: 53.01 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/10.27, allocations: 99.39 kB / 3.539 GB, free: 53 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/10.27, allocations: 3.562 kB / 3.539 GB, free: 53 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/10.27, allocations: 3.594 kB / 3.539 GB, free: 53 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/10.27, allocations: 3.984 kB / 3.539 GB, free: 52.99 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/10.27, allocations: 0 / 3.539 GB, free: 52.99 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/10.27, allocations: 0.9711 MB / 3.54 GB, free: 52.5 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/10.27, allocations: 257.8 kB / 3.54 GB, free: 52.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/10.27, allocations: 7.859 kB / 3.54 GB, free: 52.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/10.27, allocations: 57.84 kB / 3.54 GB, free: 52.29 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/10.27, allocations: 31.08 kB / 3.54 GB, free: 52.29 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/10.27, allocations: 15.78 kB / 3.54 GB, free: 52.28 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004707/10.27, allocations: 306.3 kB / 3.54 GB, free: 52.12 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.51e-07/10.27, allocations: 0 / 3.54 GB, free: 52.12 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.006032/10.28, allocations: 1.146 MB / 3.541 GB, free: 51.89 MB / 0.4952 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.01308/10.29, allocations: 2.9 MB / 3.544 GB, free: 50.57 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001511/10.3, allocations: 0.6286 MB / 3.545 GB, free: 50.32 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/10.3, allocations: 4.25 kB / 3.545 GB, free: 50.32 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/10.3, allocations: 442 kB / 3.545 GB, free: 50.11 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/10.3, allocations: 179.3 kB / 3.545 GB, free: 50.07 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00644/10.3, allocations: 1.588 MB / 3.547 GB, free: 49.32 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/10.3, allocations: 0.9944 MB / 3.548 GB, free: 48.6 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/10.31, allocations: 262.2 kB / 3.548 GB, free: 48.4 MB / 0.4952 GB Notification: Performance of SimCode: time 1.232e-06/10.31, allocations: 4 kB / 3.548 GB, free: 48.39 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.482/13.79, allocations: 30.82 MB / 3.578 GB, free: 42.77 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat