Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008989, allocations: 93.22 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008675/0.0008675, allocations: 188.1 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 241.8 MB, free: 14.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2577/0.3672, allocations: 47.93 MB / 0.5073 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02914/0.3964, allocations: 26.13 MB / 0.5328 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.3981, allocations: 39.06 kB / 0.5329 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.4001, allocations: 0.5695 MB / 0.5334 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01635/0.4165, allocations: 4.571 MB / 0.5379 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009962/0.4265, allocations: 3.202 MB / 0.541 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4294, allocations: 1.803 MB / 0.5428 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008926/0.4303, allocations: 0.679 MB / 0.5434 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/0.4444, allocations: 9.547 MB / 0.5527 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01787/0.4623, allocations: 11.92 MB / 0.5644 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.4627, allocations: 64 kB / 0.5644 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/0.48, allocations: 8.112 MB / 0.5724 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000664/0.4807, allocations: 323.1 kB / 0.5727 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.4812, allocations: 265.1 kB / 0.5729 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008122/0.4893, allocations: 4.285 MB / 0.5771 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4894, allocations: 0 / 0.5771 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4894, allocations: 0 / 0.5771 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.4894, allocations: 0 / 0.5771 GB, free: 10.38 MB / 414.1 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.005016/0.4944, allocations: 2.016 MB / 0.5791 GB, free: 8.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4945, allocations: 19.95 kB / 0.5791 GB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/0.4947, allocations: 168.3 kB / 0.5793 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004666/0.4994, allocations: 0.6403 MB / 0.5799 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5008, allocations: 0.7441 MB / 0.5806 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.501, allocations: 213.5 kB / 0.5808 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.5012, allocations: 99.95 kB / 0.5809 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/0.5052, allocations: 1.838 MB / 0.5827 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.5052, allocations: 7.844 kB / 0.5827 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5054, allocations: 48 kB / 0.5828 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/0.5054, allocations: 45.98 kB / 0.5828 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004218/0.5096, allocations: 1.678 MB / 0.5844 GB, free: 2.621 MB / 414.1 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.01039/0.52, allocations: 8.602 MB / 0.5928 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.5231, allocations: 1.029 MB / 0.5938 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04313/0.5662, allocations: 25.3 MB / 0.6186 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.5663, allocations: 47.06 kB / 0.6186 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006393/0.567, allocations: 102.9 kB / 0.6187 GB, free: 11.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 2.816e-06/0.567, allocations: 4 kB / 0.6187 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.00998/0.577, allocations: 3.564 MB / 0.6222 GB, free: 7.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5771, allocations: 115.4 kB / 0.6223 GB, free: 7.418 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.5781, allocations: 0.8603 MB / 0.6231 GB, free: 6.547 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.5782, allocations: 41.7 kB / 0.6232 GB, free: 6.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.5786, allocations: 0.564 MB / 0.6237 GB, free: 5.926 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.5789, allocations: 284.1 kB / 0.624 GB, free: 5.645 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.579, allocations: 24 kB / 0.624 GB, free: 5.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.5792, allocations: 406.7 kB / 0.6244 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/0.5802, allocations: 442.4 kB / 0.6248 GB, free: 4.785 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.5815, allocations: 1.001 MB / 0.6258 GB, free: 3.516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.5826, allocations: 0.5885 MB / 0.6264 GB, free: 2.926 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5826, allocations: 8 kB / 0.6264 GB, free: 2.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003241/0.5858, allocations: 1.759 MB / 0.6281 GB, free: 1.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.5859, allocations: 12 kB / 0.6281 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.5859, allocations: 20 kB / 0.6281 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.5886, allocations: 0.6186 MB / 0.6287 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/0.5893, allocations: 251.6 kB / 0.629 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.5916, allocations: 1.847 MB / 0.6308 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.5928, allocations: 132 kB / 0.6309 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.593, allocations: 79.97 kB / 0.631 GB, free: 14.13 MB / 478.1 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.0005618/0.5935, allocations: 339.5 kB / 0.6313 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5937, allocations: 102.8 kB / 0.6314 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/0.5994, allocations: 4.514 MB / 0.6358 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-05/0.5994, allocations: 59.91 kB / 0.6359 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5995, allocations: 4 kB / 0.6359 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.5995, allocations: 7.969 kB / 0.6359 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008112/0.6076, allocations: 6.301 MB / 0.642 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.6076, allocations: 0 / 0.642 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.6083, allocations: 175.7 kB / 0.6422 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.6101, allocations: 0.6801 MB / 0.6429 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.6102, allocations: 27.98 kB / 0.6429 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.6118, allocations: 1.784 MB / 0.6446 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6119, allocations: 4.031 kB / 0.6446 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.6168, allocations: 3.978 MB / 0.6485 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/0.6176, allocations: 433.8 kB / 0.6489 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.6178, allocations: 20 kB / 0.649 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/0.6186, allocations: 87.78 kB / 0.649 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.6188, allocations: 80.81 kB / 0.6491 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.6188, allocations: 35.98 kB / 0.6492 GB, free: 11.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009649/0.6198, allocations: 0.651 MB / 0.6498 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6198, allocations: 0 / 0.6498 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004212/0.624, allocations: 1.448 MB / 0.6512 GB, free: 9.129 MB / 494.1 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.01049/0.6346, allocations: 5.799 MB / 0.6569 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.6375, allocations: 1.683 MB / 0.6585 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6376, allocations: 4 kB / 0.6585 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.6392, allocations: 1.224 MB / 0.6597 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.6417, allocations: 0.4931 MB / 0.6602 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.6611, allocations: 22.37 MB / 0.682 GB, free: 8.902 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/0.662, allocations: 1.418 MB / 0.6834 GB, free: 7.453 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001322/0.6634, allocations: 0.5888 MB / 0.684 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.6641, allocations: 0.6516 MB / 0.6846 GB, free: 6.211 MB / 0.5138 GB Notification: Performance of SimCode: time 5.51e-07/0.6641, allocations: 0 / 0.6846 GB, free: 6.211 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.9805, allocations: 73.8 MB / 0.7567 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.9808, allocations: 286.6 kB / 0.757 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.365/6.346, allocations: 4 kB / 0.757 GB, free: 156.1 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat