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.001658/0.001658, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.772/1.772, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 88.03 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2335/0.2335, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.897e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 58.85 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.397/7.531, allocations: 2.8 GB / 3.266 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/7.531, allocations: 84.14 kB / 3.266 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9391/8.47, allocations: 234.1 MB / 3.494 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/8.47, allocations: 3.125 kB / 3.494 GB, free: 88.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.189e-05/8.47, allocations: 15.34 kB / 3.494 GB, free: 88.25 MB / 0.4948 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.0057/8.476, allocations: 1.315 MB / 3.496 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/8.476, allocations: 11.31 kB / 3.496 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/8.478, allocations: 256 kB / 3.496 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/8.479, allocations: 405.4 kB / 3.496 GB, free: 87.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/8.479, allocations: 19.59 kB / 3.496 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/8.479, allocations: 19.28 kB / 3.496 GB, free: 87.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005796/8.479, allocations: 346 kB / 3.497 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/8.48, allocations: 437 kB / 3.497 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/8.48, allocations: 0 / 3.497 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/8.48, allocations: 3 kB / 3.497 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/8.48, allocations: 7.844 kB / 3.497 GB, free: 86.77 MB / 0.4948 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.0185/8.499, allocations: 10.35 MB / 3.507 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/8.499, allocations: 253.2 kB / 3.507 GB, free: 79.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/8.499, allocations: 134 kB / 3.508 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04168/8.541, allocations: 24.28 MB / 3.531 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/8.541, allocations: 38.41 kB / 3.531 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.475e-06/8.541, allocations: 3.594 kB / 3.531 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.002245/8.543, allocations: 0.5649 MB / 3.532 GB, free: 64.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/8.543, allocations: 114.6 kB / 3.532 GB, free: 64.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/8.544, allocations: 262.2 kB / 3.532 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/8.544, allocations: 25.7 kB / 3.532 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/8.544, allocations: 230.5 kB / 3.532 GB, free: 63.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/8.544, allocations: 91.86 kB / 3.533 GB, free: 63.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/8.544, allocations: 0 / 3.533 GB, free: 63.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001177/8.544, allocations: 349.6 kB / 3.533 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/8.544, allocations: 97.67 kB / 3.533 GB, free: 63.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/8.545, allocations: 200.1 kB / 3.533 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/8.546, allocations: 204.8 kB / 3.533 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/8.546, allocations: 3 kB / 3.533 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001115/8.547, allocations: 427.2 kB / 3.534 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003438/8.547, allocations: 1.056 MB / 3.535 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/8.547, allocations: 3.344 kB / 3.535 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/8.547, allocations: 3.344 kB / 3.535 GB, free: 61.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/8.548, allocations: 113.8 kB / 3.535 GB, free: 61.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/8.548, allocations: 7.891 kB / 3.535 GB, free: 61.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/8.548, allocations: 76.67 kB / 3.535 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/8.548, allocations: 21.61 kB / 3.535 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/8.548, allocations: 3.312 kB / 3.535 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008541/8.549, allocations: 336.2 kB / 3.535 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/8.549, allocations: 3.312 kB / 3.535 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/8.549, allocations: 7.312 kB / 3.535 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/8.55, allocations: 109.5 kB / 3.535 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/8.55, allocations: 3.875 kB / 3.535 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/8.55, allocations: 70.09 kB / 3.535 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/8.55, allocations: 18.03 kB / 3.536 GB, free: 61.63 MB / 0.4948 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.000146/8.55, allocations: 120.5 kB / 3.536 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000974/8.551, allocations: 350.3 kB / 3.536 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/8.551, allocations: 33.31 kB / 3.536 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/8.553, allocations: 1.684 MB / 3.538 GB, free: 60.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/8.553, allocations: 29.64 kB / 3.538 GB, free: 60.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/8.553, allocations: 0 / 3.538 GB, free: 60.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/8.553, allocations: 0 / 3.538 GB, free: 60.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/8.554, allocations: 0.8805 MB / 3.539 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/8.554, allocations: 7.266 kB / 3.539 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/8.555, allocations: 93.14 kB / 3.539 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/8.555, allocations: 7.219 kB / 3.539 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/8.555, allocations: 2.484 kB / 3.539 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/8.555, allocations: 3.25 kB / 3.539 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/8.555, allocations: 0 / 3.539 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/8.556, allocations: 0.9667 MB / 3.54 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/8.556, allocations: 256 kB / 3.54 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/8.556, allocations: 10.86 kB / 3.54 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/8.557, allocations: 50.34 kB / 3.54 GB, free: 59.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/8.557, allocations: 42.62 kB / 3.54 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/8.557, allocations: 7.75 kB / 3.54 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003448/8.557, allocations: 311.1 kB / 3.54 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/8.557, allocations: 0 / 3.54 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006454/8.564, allocations: 1.146 MB / 3.541 GB, free: 58.95 MB / 0.4948 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.009454/8.573, allocations: 2.906 MB / 3.544 GB, free: 57.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00114/8.574, allocations: 0.6422 MB / 3.545 GB, free: 57.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/8.574, allocations: 7.875 kB / 3.545 GB, free: 57.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/8.575, allocations: 436 kB / 3.545 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/8.576, allocations: 175.7 kB / 3.545 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/8.581, allocations: 1.563 MB / 3.547 GB, free: 56.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/8.581, allocations: 0.9877 MB / 3.548 GB, free: 55.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000879/8.582, allocations: 0.5599 MB / 3.548 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/8.583, allocations: 261.6 kB / 3.549 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/8.583, allocations: 0 / 3.549 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07426/8.657, allocations: 37.18 MB / 3.585 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/8.657, allocations: 187.8 kB / 3.585 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/12.07, allocations: 11.88 kB / 3.585 GB, free: 31.45 MB / 0.4948 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