Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001354/0.001354, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 86.06 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1179, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2619/0.3799, allocations: 56.99 MB / 0.5246 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03328/0.4132, allocations: 30.74 MB / 0.5546 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.4152, allocations: 30.03 kB / 0.5547 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.4173, allocations: 0.6703 MB / 0.5553 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.4344, allocations: 5.75 MB / 0.5609 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.4452, allocations: 3.885 MB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.4493, allocations: 3.057 MB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.4507, allocations: 0.8197 MB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/0.4659, allocations: 6.326 MB / 0.5747 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01773/0.4837, allocations: 7.439 MB / 0.582 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000434/0.4842, allocations: 116 kB / 0.5821 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01775/0.5019, allocations: 8.222 MB / 0.5901 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006709/0.5026, allocations: 398.8 kB / 0.5905 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.5038, allocations: 0.6884 MB / 0.5911 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.5215, allocations: 6.303 MB / 0.5973 GB, free: 15.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.5215, allocations: 0 / 0.5973 GB, free: 15.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5215, allocations: 0 / 0.5973 GB, free: 15.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.027e-05/0.5216, allocations: 0 / 0.5973 GB, free: 15.56 MB / 446.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.00698/0.5286, allocations: 2.253 MB / 0.5995 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5286, allocations: 8.031 kB / 0.5995 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.5289, allocations: 168.5 kB / 0.5997 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004783/0.5337, allocations: 0.6317 MB / 0.6003 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.5352, allocations: 0.7643 MB / 0.601 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.5354, allocations: 217.5 kB / 0.6012 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.5356, allocations: 99.94 kB / 0.6013 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.5399, allocations: 1.814 MB / 0.6031 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.54, allocations: 11.94 kB / 0.6031 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5401, allocations: 51.94 kB / 0.6032 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-05/0.5402, allocations: 45.98 kB / 0.6032 GB, free: 9.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004353/0.5445, allocations: 1.635 MB / 0.6048 GB, free: 7.605 MB / 446.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.01186/0.5564, allocations: 8.597 MB / 0.6132 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/0.5597, allocations: 0.9962 MB / 0.6142 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009061/0.5606, allocations: 418.3 kB / 0.6146 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05191/0.6126, allocations: 27.5 MB / 0.6414 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.83e-05/0.6127, allocations: 43.12 kB / 0.6415 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007376/0.6134, allocations: 86.95 kB / 0.6416 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 3.597e-06/0.6134, allocations: 3.938 kB / 0.6416 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01102/0.6245, allocations: 3.462 MB / 0.6449 GB, free: 9.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.6246, allocations: 115.5 kB / 0.645 GB, free: 9.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.6258, allocations: 0.8488 MB / 0.6459 GB, free: 8.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/0.6259, allocations: 45.69 kB / 0.6459 GB, free: 8.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.6264, allocations: 0.5755 MB / 0.6465 GB, free: 7.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.6266, allocations: 276.1 kB / 0.6467 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.627, allocations: 262.6 kB / 0.647 GB, free: 7.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.6273, allocations: 410.7 kB / 0.6474 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009662/0.6282, allocations: 430.4 kB / 0.6478 GB, free: 6.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.6297, allocations: 0.9892 MB / 0.6488 GB, free: 5.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.6324, allocations: 1.498 MB / 0.6502 GB, free: 3.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.6325, allocations: 4 kB / 0.6502 GB, free: 3.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0038/0.6363, allocations: 1.725 MB / 0.6519 GB, free: 1.797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.6363, allocations: 14.81 kB / 0.6519 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.6363, allocations: 23.98 kB / 0.652 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/0.6391, allocations: 0.6067 MB / 0.6525 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007824/0.6399, allocations: 243.5 kB / 0.6528 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.6425, allocations: 1.828 MB / 0.6546 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/0.6435, allocations: 68.09 kB / 0.6546 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.6436, allocations: 79.92 kB / 0.6547 GB, free: 14.89 MB / 0.4981 GB 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,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006043/0.6442, allocations: 347.5 kB / 0.655 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.6445, allocations: 106.7 kB / 0.6551 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/0.6508, allocations: 4.452 MB / 0.6595 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/0.6509, allocations: 59.91 kB / 0.6595 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.6509, allocations: 4 kB / 0.6595 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.6509, allocations: 7.922 kB / 0.6596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008555/0.6595, allocations: 6.258 MB / 0.6657 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6595, allocations: 0 / 0.6657 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.6601, allocations: 143.8 kB / 0.6658 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.6618, allocations: 0.5455 MB / 0.6663 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.6618, allocations: 20 kB / 0.6664 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.6638, allocations: 1.792 MB / 0.6681 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6638, allocations: 3.938 kB / 0.6681 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.6697, allocations: 3.943 MB / 0.672 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/0.6704, allocations: 358.1 kB / 0.6723 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.6706, allocations: 35.84 kB / 0.6723 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.6712, allocations: 43.95 kB / 0.6724 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.6714, allocations: 72.91 kB / 0.6724 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/0.6714, allocations: 35.97 kB / 0.6725 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001193/0.6726, allocations: 0.6666 MB / 0.6731 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6727, allocations: 0 / 0.6731 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004439/0.6771, allocations: 1.456 MB / 0.6746 GB, free: 10.25 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/0.6907, allocations: 5.762 MB / 0.6802 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005189/0.6959, allocations: 1.788 MB / 0.6819 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6959, allocations: 0 / 0.6819 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.6978, allocations: 1.216 MB / 0.6831 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.7008, allocations: 0.5449 MB / 0.6836 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.7233, allocations: 12.97 MB / 0.6963 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.7245, allocations: 1.383 MB / 0.6977 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001457/0.726, allocations: 0.589 MB / 0.6982 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007968/0.7268, allocations: 0.6555 MB / 0.6989 GB, free: 464 kB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/0.7268, allocations: 0 / 0.6989 GB, free: 464 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3351/1.062, allocations: 75.53 MB / 0.7726 GB, free: 161.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.28/16.35, allocations: 12.36 kB / 0.7726 GB, free: 161.5 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)