Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 95.52 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 4 kB / 418.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 63.46 MB / 481.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3417/0.4963, allocations: 48.03 MB / 0.5171 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03183/0.5282, allocations: 26.14 MB / 0.5427 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.5298, allocations: 35.25 kB / 0.5427 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.5316, allocations: 0.5751 MB / 0.5433 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01547/0.547, allocations: 4.567 MB / 0.5477 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.5586, allocations: 3.203 MB / 0.5508 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.562, allocations: 1.817 MB / 0.5526 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.5631, allocations: 0.6756 MB / 0.5533 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/0.5787, allocations: 9.54 MB / 0.5626 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01863/0.5973, allocations: 11.93 MB / 0.5742 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003303/0.5977, allocations: 63.94 kB / 0.5743 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.614, allocations: 8.132 MB / 0.5822 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.6146, allocations: 331 kB / 0.5826 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.6151, allocations: 257.1 kB / 0.5828 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008267/0.6234, allocations: 4.295 MB / 0.587 GB, free: 13.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6234, allocations: 0 / 0.587 GB, free: 13.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6234, allocations: 0 / 0.587 GB, free: 13.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.6234, allocations: 0 / 0.587 GB, free: 13.57 MB / 430.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.004755/0.6282, allocations: 2.027 MB / 0.589 GB, free: 11.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6282, allocations: 12.03 kB / 0.589 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.6285, allocations: 160.4 kB / 0.5891 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.6332, allocations: 0.6464 MB / 0.5898 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6345, allocations: 0.7479 MB / 0.5905 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.6348, allocations: 212.8 kB / 0.5907 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.6349, allocations: 99.98 kB / 0.5908 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.6389, allocations: 1.838 MB / 0.5926 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.639, allocations: 11.83 kB / 0.5926 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6391, allocations: 48 kB / 0.5927 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/0.6392, allocations: 41.95 kB / 0.5927 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.6433, allocations: 1.69 MB / 0.5943 GB, free: 5.773 MB / 430.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.009885/0.6532, allocations: 8.599 MB / 0.6027 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.6562, allocations: 1.017 MB / 0.6037 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04463/0.7008, allocations: 27.85 MB / 0.6309 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.7009, allocations: 39.12 kB / 0.631 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006707/0.7016, allocations: 106.9 kB / 0.6311 GB, free: 11.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.284e-06/0.7016, allocations: 0 / 0.6311 GB, free: 11.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.009967/0.7116, allocations: 3.568 MB / 0.6346 GB, free: 7.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.7117, allocations: 111.5 kB / 0.6347 GB, free: 7.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.7127, allocations: 0.8486 MB / 0.6355 GB, free: 6.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.7128, allocations: 37.7 kB / 0.6355 GB, free: 6.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.7132, allocations: 0.5718 MB / 0.6361 GB, free: 6.031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.7134, allocations: 272.1 kB / 0.6363 GB, free: 5.762 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.7135, allocations: 28 kB / 0.6364 GB, free: 5.734 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.7137, allocations: 414.7 kB / 0.6368 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.7147, allocations: 442.3 kB / 0.6372 GB, free: 4.887 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.7161, allocations: 0.997 MB / 0.6382 GB, free: 3.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7173, allocations: 0.5886 MB / 0.6387 GB, free: 3.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.7173, allocations: 4 kB / 0.6387 GB, free: 3.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003426/0.7207, allocations: 1.756 MB / 0.6405 GB, free: 1.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.7208, allocations: 16 kB / 0.6405 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.7208, allocations: 20 kB / 0.6405 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.7238, allocations: 0.634 MB / 0.6411 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/0.7245, allocations: 247.6 kB / 0.6413 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.7271, allocations: 1.847 MB / 0.6431 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7284, allocations: 127.8 kB / 0.6433 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.7285, allocations: 79.98 kB / 0.6433 GB, free: 14.24 MB / 494.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.0006307/0.7292, allocations: 335.5 kB / 0.6437 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.7293, allocations: 110.7 kB / 0.6438 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/0.7355, allocations: 4.524 MB / 0.6482 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.3e-05/0.7356, allocations: 63.8 kB / 0.6482 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7356, allocations: 4 kB / 0.6483 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7356, allocations: 3.984 kB / 0.6483 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008474/0.7441, allocations: 6.301 MB / 0.6544 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7441, allocations: 0 / 0.6544 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.7448, allocations: 175.8 kB / 0.6546 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.7467, allocations: 0.6762 MB / 0.6552 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/0.7468, allocations: 23.98 kB / 0.6553 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.7486, allocations: 1.796 MB / 0.657 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.7486, allocations: 4 kB / 0.657 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00583/0.7545, allocations: 3.982 MB / 0.6609 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000848/0.7553, allocations: 425.8 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.7555, allocations: 16 kB / 0.6613 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.7563, allocations: 95.78 kB / 0.6614 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.7565, allocations: 80.83 kB / 0.6615 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/0.7566, allocations: 35.86 kB / 0.6615 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001088/0.7577, allocations: 0.6588 MB / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7577, allocations: 0 / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00501/0.7627, allocations: 1.452 MB / 0.6636 GB, free: 9.203 MB / 0.4981 GB 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.0116/0.7744, allocations: 5.807 MB / 0.6693 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003393/0.7778, allocations: 1.679 MB / 0.6709 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.7778, allocations: 4 kB / 0.6709 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.7797, allocations: 1.228 MB / 0.6721 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.7823, allocations: 497.7 kB / 0.6726 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/0.8034, allocations: 22.37 MB / 0.6944 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.8045, allocations: 1.422 MB / 0.6958 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001485/0.806, allocations: 0.5929 MB / 0.6964 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/0.8068, allocations: 0.6555 MB / 0.697 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of SimCode: time 1.183e-06/0.8068, allocations: 0 / 0.697 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3352/1.142, allocations: 73.94 MB / 0.7692 GB, free: 166.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.142, allocations: 282.2 kB / 0.7695 GB, free: 165.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.413/6.555, allocations: 0 / 0.7695 GB, free: 165.7 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat