Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001664/0.001664, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001204/0.001203, allocations: 82.7 kB / 267.5 MB, free: 14.04 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.2913/0.2913, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.186e-05/4.189e-05, allocations: 3.938 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.25/8.376, allocations: 2.765 GB / 3.237 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/8.376, allocations: 85.27 kB / 3.238 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.934/10.31, allocations: 357.1 MB / 3.586 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.195e-06/10.31, allocations: 2.125 kB / 3.586 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.853e-05/10.31, allocations: 13.09 kB / 3.586 GB, free: 77.14 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007754/10.32, allocations: 1.664 MB / 3.588 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/10.32, allocations: 10.81 kB / 3.588 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003189/10.32, allocations: 104 kB / 3.588 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/10.32, allocations: 440.1 kB / 3.588 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/10.33, allocations: 0.564 MB / 3.589 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/10.33, allocations: 111.1 kB / 3.589 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/10.33, allocations: 53.41 kB / 3.589 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004048/10.33, allocations: 1.156 MB / 3.59 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/10.33, allocations: 6.969 kB / 3.59 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/10.33, allocations: 25.69 kB / 3.59 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/10.33, allocations: 38.59 kB / 3.59 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/10.33, allocations: 1.014 MB / 3.591 GB, free: 75.78 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.00997/10.34, allocations: 4.999 MB / 3.596 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/10.35, allocations: 0.862 MB / 3.597 GB, free: 72.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008691/10.35, allocations: 334.8 kB / 3.597 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07447/10.42, allocations: 24.16 MB / 3.621 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/10.42, allocations: 46.53 kB / 3.621 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/10.42, allocations: 0 / 3.621 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.005629/10.43, allocations: 1.32 MB / 3.622 GB, free: 57.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/10.43, allocations: 115.9 kB / 3.622 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/10.43, allocations: 0.5215 MB / 3.623 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/10.43, allocations: 33.61 kB / 3.623 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/10.43, allocations: 343 kB / 3.623 GB, free: 56.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/10.43, allocations: 158.5 kB / 3.623 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/10.43, allocations: 8 kB / 3.623 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/10.43, allocations: 341.9 kB / 3.624 GB, free: 56.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/10.43, allocations: 275.2 kB / 3.624 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/10.43, allocations: 439.7 kB / 3.624 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/10.43, allocations: 301.3 kB / 3.625 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/10.43, allocations: 3.812 kB / 3.625 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00241/10.43, allocations: 0.9147 MB / 3.626 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/10.43, allocations: 6.562 kB / 3.626 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/10.43, allocations: 3.531 kB / 3.626 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/10.44, allocations: 402.3 kB / 3.626 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/10.44, allocations: 117.5 kB / 3.626 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/10.44, allocations: 1.588 MB / 3.628 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/10.44, allocations: 115.8 kB / 3.628 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/10.44, allocations: 32.05 kB / 3.628 GB, free: 54.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002468/10.44, allocations: 147.9 kB / 3.628 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/10.44, allocations: 61.09 kB / 3.628 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/10.45, allocations: 3.525 MB / 3.631 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/10.45, allocations: 42.61 kB / 3.631 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/10.45, allocations: 3.25 kB / 3.631 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/10.45, allocations: 6.312 kB / 3.631 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/10.45, allocations: 1.563 MB / 3.633 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/10.45, allocations: 0 / 3.633 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/10.45, allocations: 90.67 kB / 3.633 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/10.45, allocations: 1.051 MB / 3.634 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/10.45, allocations: 15.61 kB / 3.634 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/10.46, allocations: 2.327 MB / 3.636 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/10.46, allocations: 0 / 3.636 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/10.46, allocations: 2.461 MB / 3.639 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/10.46, allocations: 355.8 kB / 3.639 GB, free: 48.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/10.46, allocations: 11.75 kB / 3.639 GB, free: 48.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/10.46, allocations: 69.3 kB / 3.639 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/10.46, allocations: 73.16 kB / 3.639 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/10.46, allocations: 27.19 kB / 3.639 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008972/10.47, allocations: 0.4965 MB / 3.64 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.6e-07/10.47, allocations: 0 / 3.64 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005741/10.47, allocations: 1.202 MB / 3.641 GB, free: 48.09 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: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01409/10.48, allocations: 4.013 MB / 3.645 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00286/10.49, allocations: 1.033 MB / 3.646 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/10.49, allocations: 0 / 3.646 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/10.49, allocations: 0.8351 MB / 3.647 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/10.49, allocations: 345.6 kB / 3.647 GB, free: 45.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/10.5, allocations: 2.495 MB / 3.649 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/10.5, allocations: 1.171 MB / 3.651 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/10.5, allocations: 401.4 kB / 3.651 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/10.5, allocations: 0 / 3.651 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.987/14.49, allocations: 46.48 MB / 3.696 GB, free: 18.76 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat