Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.001709/0.001709, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.373/2.373, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001152/0.001151, allocations: 94.86 kB / 270.9 MB, free: 13.38 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.3012/0.3012, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.000505, allocations: 19.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.4375/0.5685, allocations: 47.96 MB / 0.5257 GB, free: 12.3 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04673/0.6153, allocations: 26.1 MB / 0.5511 GB, free: 7.691 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.6174, allocations: 34.78 kB / 0.5512 GB, free: 7.672 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002773/0.6202, allocations: 0.578 MB / 0.5517 GB, free: 7.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02152/0.6418, allocations: 4.564 MB / 0.5562 GB, free: 5.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.6564, allocations: 3.18 MB / 0.5593 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004241/0.6607, allocations: 1.817 MB / 0.5611 GB, free: 1.551 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.6624, allocations: 0.6775 MB / 0.5617 GB, free: 1.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02849/0.6909, allocations: 9.537 MB / 0.5711 GB, free: 12.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03573/0.7267, allocations: 11.93 MB / 0.5827 GB, free: 204 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005232/0.7273, allocations: 64 kB / 0.5828 GB, free: 140 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02626/0.7536, allocations: 8.108 MB / 0.5907 GB, free: 8.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008987/0.7545, allocations: 323.1 kB / 0.591 GB, free: 7.703 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.7553, allocations: 269.1 kB / 0.5913 GB, free: 7.434 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.7682, allocations: 4.292 MB / 0.5954 GB, free: 3.133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7682, allocations: 0 / 0.5954 GB, free: 3.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.7682, allocations: 0 / 0.5954 GB, free: 3.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.725e-05/0.7683, allocations: 0 / 0.5954 GB, free: 3.133 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.008104/0.7764, allocations: 2.023 MB / 0.5974 GB, free: 1.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.7765, allocations: 16.02 kB / 0.5974 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005128/0.777, allocations: 164.3 kB / 0.5976 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007484/0.7845, allocations: 0.6425 MB / 0.5982 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.7869, allocations: 0.748 MB / 0.5989 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.7873, allocations: 208.8 kB / 0.5991 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.7877, allocations: 99.94 kB / 0.5992 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007096/0.7948, allocations: 1.838 MB / 0.601 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/0.7949, allocations: 11.84 kB / 0.601 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.7952, allocations: 48 kB / 0.6011 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.7953, allocations: 45.98 kB / 0.6011 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007518/0.8028, allocations: 1.686 MB / 0.6028 GB, free: 11.35 MB / 410.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.01772/0.8206, allocations: 8.599 MB / 0.6112 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005084/0.8257, allocations: 1.026 MB / 0.6122 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07817/0.9039, allocations: 25.3 MB / 0.6369 GB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/0.9041, allocations: 51.08 kB / 0.6369 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009418/0.905, allocations: 102.9 kB / 0.637 GB, free: 3.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 4.628e-06/0.905, allocations: 0 / 0.637 GB, free: 3.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.01761/0.9227, allocations: 3.568 MB / 0.6405 GB, free: 280 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/0.9228, allocations: 115.4 kB / 0.6406 GB, free: 140 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.9246, allocations: 0.8525 MB / 0.6415 GB, free: 15.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002155/0.9249, allocations: 37.7 kB / 0.6415 GB, free: 15.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.9255, allocations: 0.5821 MB / 0.6421 GB, free: 14.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.9259, allocations: 284 kB / 0.6423 GB, free: 14.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.926, allocations: 28 kB / 0.6424 GB, free: 14.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.9263, allocations: 366.7 kB / 0.6427 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.9281, allocations: 438.4 kB / 0.6431 GB, free: 13.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.9306, allocations: 1.001 MB / 0.6441 GB, free: 12.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.9328, allocations: 0.5887 MB / 0.6447 GB, free: 11.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.9329, allocations: 11.94 kB / 0.6447 GB, free: 11.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0062/0.9391, allocations: 1.702 MB / 0.6464 GB, free: 9.953 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/0.9392, allocations: 16 kB / 0.6464 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.9392, allocations: 20.12 kB / 0.6464 GB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004841/0.9441, allocations: 0.6222 MB / 0.647 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.9457, allocations: 251.6 kB / 0.6472 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.9497, allocations: 1.843 MB / 0.649 GB, free: 7.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.9517, allocations: 123.9 kB / 0.6492 GB, free: 7.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.952, allocations: 79.97 kB / 0.6492 GB, free: 6.949 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0009055/0.9529, allocations: 339.4 kB / 0.6496 GB, free: 6.609 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.9533, allocations: 102.7 kB / 0.6497 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009891/0.9632, allocations: 4.522 MB / 0.6541 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-05/0.9634, allocations: 55.91 kB / 0.6541 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.9634, allocations: 7.953 kB / 0.6541 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.9634, allocations: 7.969 kB / 0.6541 GB, free: 1.863 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.9764, allocations: 6.297 MB / 0.6603 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.9765, allocations: 0 / 0.6603 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.9777, allocations: 167.8 kB / 0.6605 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/0.9809, allocations: 0.6918 MB / 0.6611 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.9811, allocations: 27.98 kB / 0.6612 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.9838, allocations: 1.78 MB / 0.6629 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9838, allocations: 3.953 kB / 0.6629 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00958/0.9934, allocations: 3.99 MB / 0.6668 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.9946, allocations: 425.9 kB / 0.6672 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.9949, allocations: 16 kB / 0.6672 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.9963, allocations: 83.78 kB / 0.6673 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.9966, allocations: 84.83 kB / 0.6674 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.9967, allocations: 39.92 kB / 0.6674 GB, free: 4.039 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00156/0.9983, allocations: 0.651 MB / 0.6681 GB, free: 3.379 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9983, allocations: 0 / 0.6681 GB, free: 3.379 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006015/1.004, allocations: 1.445 MB / 0.6695 GB, free: 1.934 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01878/1.023, allocations: 5.787 MB / 0.6751 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005497/1.029, allocations: 1.687 MB / 0.6768 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.029, allocations: 0 / 0.6768 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.032, allocations: 1.228 MB / 0.678 GB, free: 9.172 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/1.037, allocations: 0.4903 MB / 0.6784 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/1.069, allocations: 22.4 MB / 0.7003 GB, free: 1.668 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.07, allocations: 1.422 MB / 0.7017 GB, free: 216 kB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.072, allocations: 0.6634 MB / 0.7024 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/1.072, allocations: 0 / 0.7024 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.661/5.733, allocations: 59.45 MB / 0.7604 GB, free: 163.9 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat