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.0013/0.001299, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.747/1.747, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009719/0.0009717, allocations: 82.61 kB / 267 MB, free: 9.281 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.4483/0.4483, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.049e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 58.84 MB / 484.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.08/7.258, allocations: 2.8 GB / 3.273 GB, free: 99.81 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/7.258, allocations: 86.58 kB / 3.273 GB, free: 99.74 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9302/8.189, allocations: 236.9 MB / 3.505 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/8.189, allocations: 0 / 3.505 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.833e-05/8.189, allocations: 7.938 kB / 3.505 GB, free: 61.89 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.006497/8.195, allocations: 1.31 MB / 3.506 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/8.195, allocations: 7.938 kB / 3.506 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/8.195, allocations: 70.38 kB / 3.506 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/8.197, allocations: 259.6 kB / 3.506 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007785/8.198, allocations: 416.1 kB / 3.507 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/8.198, allocations: 32.66 kB / 3.507 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/8.198, allocations: 31.98 kB / 3.507 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/8.2, allocations: 0.6319 MB / 3.507 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/8.2, allocations: 7.891 kB / 3.507 GB, free: 59.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/8.2, allocations: 15.97 kB / 3.507 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/8.2, allocations: 9.062 kB / 3.507 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/8.201, allocations: 0.5336 MB / 3.508 GB, free: 59.71 MB / 0.5105 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.003252/8.204, allocations: 2.83 MB / 3.511 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/8.205, allocations: 463.9 kB / 3.511 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/8.205, allocations: 143.7 kB / 3.511 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04587/8.251, allocations: 24.27 MB / 3.535 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/8.251, allocations: 42.5 kB / 3.535 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 2.725e-06/8.251, allocations: 4 kB / 3.535 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.002329/8.254, allocations: 0.6625 MB / 3.536 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/8.254, allocations: 106.8 kB / 3.536 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/8.254, allocations: 318.9 kB / 3.536 GB, free: 36.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/8.254, allocations: 33.7 kB / 3.536 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/8.255, allocations: 227.8 kB / 3.536 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/8.255, allocations: 89.88 kB / 3.536 GB, free: 35.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/8.255, allocations: 8 kB / 3.536 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/8.255, allocations: 346.8 kB / 3.537 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/8.255, allocations: 104.6 kB / 3.537 GB, free: 35.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/8.255, allocations: 214 kB / 3.537 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/8.255, allocations: 115.9 kB / 3.537 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/8.255, allocations: 8 kB / 3.537 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006188/8.256, allocations: 360.9 kB / 3.537 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/8.256, allocations: 1.055 MB / 3.538 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/8.256, allocations: 4 kB / 3.538 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/8.256, allocations: 7.953 kB / 3.538 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/8.257, allocations: 107.9 kB / 3.539 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/8.257, allocations: 4 kB / 3.539 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/8.257, allocations: 99.47 kB / 3.539 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/8.258, allocations: 19.94 kB / 3.539 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/8.258, allocations: 8.609 kB / 3.539 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004953/8.258, allocations: 299.6 kB / 3.539 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/8.258, allocations: 4 kB / 3.539 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/8.258, allocations: 8.281 kB / 3.539 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/8.258, allocations: 111.9 kB / 3.539 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/8.259, allocations: 7.984 kB / 3.539 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/8.259, allocations: 71.7 kB / 3.539 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/8.259, allocations: 20 kB / 3.539 GB, free: 32.78 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 () * 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.0001336/8.259, allocations: 144.8 kB / 3.539 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/8.259, allocations: 39.53 kB / 3.539 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/8.261, allocations: 1.892 MB / 3.541 GB, free: 30.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/8.261, allocations: 31.95 kB / 3.541 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.261, allocations: 0 / 3.541 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/8.261, allocations: 3.984 kB / 3.541 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/8.262, allocations: 1.049 MB / 3.542 GB, free: 29.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/8.262, allocations: 4 kB / 3.542 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/8.263, allocations: 103.9 kB / 3.542 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/8.263, allocations: 0 / 3.542 GB, free: 29.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/8.263, allocations: 8 kB / 3.542 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/8.263, allocations: 8 kB / 3.542 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/8.263, allocations: 0 / 3.542 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/8.264, allocations: 1.028 MB / 3.543 GB, free: 28.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/8.264, allocations: 267.3 kB / 3.544 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/8.264, allocations: 8 kB / 3.544 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/8.265, allocations: 55.86 kB / 3.544 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/8.265, allocations: 35.94 kB / 3.544 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/8.265, allocations: 12 kB / 3.544 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000351/8.265, allocations: 361.6 kB / 3.544 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/8.265, allocations: 7.938 kB / 3.544 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005614/8.271, allocations: 1.163 MB / 3.545 GB, free: 26.48 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 () * 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.01084/8.282, allocations: 2.909 MB / 3.548 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001327/8.283, allocations: 0.7038 MB / 3.549 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/8.283, allocations: 0 / 3.549 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/8.283, allocations: 494.7 kB / 3.549 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/8.285, allocations: 232.8 kB / 3.549 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/8.291, allocations: 1.685 MB / 3.551 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/8.291, allocations: 1.004 MB / 3.552 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001004/8.292, allocations: 0.5559 MB / 3.553 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/8.293, allocations: 267.3 kB / 3.553 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/8.293, allocations: 4 kB / 3.553 GB, free: 18.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4684/8.761, allocations: 43.64 MB / 3.596 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/8.761, allocations: 207.3 kB / 3.596 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.7/12.46, allocations: 0 / 3.596 GB, free: 58.88 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