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.001693/0.001692, allocations: 182.7 kB / 16.4 MB, free: 5.754 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.16/2.16, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001184/0.001184, allocations: 85.56 kB / 270.9 MB, free: 8.379 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.5502/0.5502, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 8 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1378, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.3745/0.5124, allocations: 30.77 MB / 0.5089 GB, free: 29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02394/0.5364, allocations: 14.34 MB / 0.5229 GB, free: 19.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.5376, allocations: 20.97 kB / 0.5229 GB, free: 19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.5392, allocations: 367.2 kB / 0.5232 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.5526, allocations: 3.11 MB / 0.5263 GB, free: 17.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.5634, allocations: 2.548 MB / 0.5288 GB, free: 15.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.5658, allocations: 1.058 MB / 0.5298 GB, free: 15.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5668, allocations: 466.8 kB / 0.5302 GB, free: 15.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.5688, allocations: 0.6409 MB / 0.5309 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008994/0.5697, allocations: 413 kB / 0.5313 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.5699, allocations: 36 kB / 0.5313 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01982/0.5898, allocations: 7.217 MB / 0.5384 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005763/0.5904, allocations: 194.6 kB / 0.5385 GB, free: 13.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.5908, allocations: 167.8 kB / 0.5387 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.6012, allocations: 3.408 MB / 0.542 GB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6013, allocations: 0 / 0.542 GB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.6013, allocations: 3.938 kB / 0.542 GB, free: 12.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.6013, allocations: 0 / 0.542 GB, free: 12.36 MB / 378.7 MB 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.007556/0.6089, allocations: 1.474 MB / 0.5435 GB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.609, allocations: 15.39 kB / 0.5435 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003001/0.6093, allocations: 106 kB / 0.5436 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.6137, allocations: 381.3 kB / 0.5439 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6152, allocations: 0.5037 MB / 0.5444 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.6154, allocations: 107 kB / 0.5445 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.6156, allocations: 57.16 kB / 0.5446 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.6202, allocations: 1.151 MB / 0.5457 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.6203, allocations: 5.578 kB / 0.5457 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.6204, allocations: 31.38 kB / 0.5458 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/0.6205, allocations: 31.94 kB / 0.5458 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004837/0.6254, allocations: 1.092 MB / 0.5469 GB, free: 9.582 MB / 378.7 MB 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.01087/0.6363, allocations: 5.055 MB / 0.5518 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.6409, allocations: 0.9626 MB / 0.5527 GB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08766/0.7286, allocations: 24.42 MB / 0.5766 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/0.7288, allocations: 39 kB / 0.5766 GB, free: 14.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/0.7288, allocations: 0 / 0.5766 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=47): time 0.01238/0.7412, allocations: 2.083 MB / 0.5786 GB, free: 12.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.7413, allocations: 107.2 kB / 0.5788 GB, free: 12.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.7426, allocations: 0.5886 MB / 0.5793 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.7427, allocations: 37.7 kB / 0.5794 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.7431, allocations: 346.1 kB / 0.5797 GB, free: 11.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.7433, allocations: 169.8 kB / 0.5799 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.7434, allocations: 8 kB / 0.5799 GB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7436, allocations: 334.8 kB / 0.5802 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.745, allocations: 337.1 kB / 0.5805 GB, free: 10.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.7465, allocations: 498.1 kB / 0.581 GB, free: 10.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.748, allocations: 356.6 kB / 0.5813 GB, free: 9.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.748, allocations: 0 / 0.5813 GB, free: 9.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004045/0.752, allocations: 1.044 MB / 0.5823 GB, free: 8.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.7521, allocations: 8 kB / 0.5823 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.7521, allocations: 4 kB / 0.5823 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.7542, allocations: 433.4 kB / 0.5828 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/0.7551, allocations: 119.8 kB / 0.5829 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.7584, allocations: 1.642 MB / 0.5845 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.7598, allocations: 119.1 kB / 0.5846 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.7599, allocations: 39.88 kB / 0.5846 GB, free: 6.375 MB / 410.7 MB 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 () * Number of clocked 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.0006611/0.7606, allocations: 221.7 kB / 0.5848 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.7608, allocations: 63.25 kB / 0.5849 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007866/0.7687, allocations: 3.304 MB / 0.5881 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/0.7689, allocations: 47.86 kB / 0.5882 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.7689, allocations: 3.953 kB / 0.5882 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.7689, allocations: 3.984 kB / 0.5882 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.772, allocations: 1.561 MB / 0.5897 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.772, allocations: 0 / 0.5897 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007042/0.7728, allocations: 87.94 kB / 0.5898 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.7754, allocations: 0.8973 MB / 0.5907 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.7756, allocations: 19.98 kB / 0.5907 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/0.7798, allocations: 2.299 MB / 0.5929 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.7798, allocations: 3.938 kB / 0.5929 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005915/0.7858, allocations: 2.312 MB / 0.5952 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.7867, allocations: 350.6 kB / 0.5955 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.787, allocations: 15.98 kB / 0.5955 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.7882, allocations: 67.89 kB / 0.5956 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.7885, allocations: 68.45 kB / 0.5957 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.7886, allocations: 19.98 kB / 0.5957 GB, free: 10.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.7897, allocations: 0.5107 MB / 0.5962 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7898, allocations: 0 / 0.5962 GB, free: 10.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006893/0.7967, allocations: 1.159 MB / 0.5973 GB, free: 9.195 MB / 426.7 MB 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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.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 () * Number of clocked 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.01794/0.8147, allocations: 3.832 MB / 0.6011 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.8192, allocations: 1.15 MB / 0.6022 GB, free: 4.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.8192, allocations: 0 / 0.6022 GB, free: 4.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.8221, allocations: 0.881 MB / 0.603 GB, free: 3.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.8255, allocations: 353.9 kB / 0.6034 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.8479, allocations: 9.349 MB / 0.6125 GB, free: 9.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.849, allocations: 1.181 MB / 0.6137 GB, free: 8.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/0.8499, allocations: 399.3 kB / 0.6141 GB, free: 7.863 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8499, allocations: 0 / 0.6141 GB, free: 7.863 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.234/5.084, allocations: 45.53 MB / 0.6585 GB, free: 10.3 MB / 490.7 MB (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