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.001069/0.001073, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2083/0.2083, allocations: 46.11 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 77.06 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 62.44 MB / 480.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2423/0.3568, allocations: 56.99 MB / 0.5245 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03032/0.3871, allocations: 30.74 MB / 0.5546 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3884, allocations: 28.31 kB / 0.5546 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.3902, allocations: 0.6708 MB / 0.5552 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.4046, allocations: 5.747 MB / 0.5609 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.415, allocations: 3.892 MB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003909/0.4189, allocations: 3.051 MB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.4205, allocations: 0.8172 MB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01577/0.4363, allocations: 6.322 MB / 0.5746 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0161/0.4524, allocations: 7.45 MB / 0.5819 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006628/0.4531, allocations: 112 kB / 0.582 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01678/0.4699, allocations: 8.218 MB / 0.59 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009123/0.4709, allocations: 402.8 kB / 0.5904 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.4722, allocations: 0.6884 MB / 0.5911 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01327/0.4855, allocations: 6.299 MB / 0.5972 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4856, allocations: 0 / 0.5972 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4856, allocations: 0 / 0.5972 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.376e-05/0.4856, allocations: 4 kB / 0.5972 GB, free: 15.54 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.005832/0.4915, allocations: 2.249 MB / 0.5994 GB, free: 13.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4915, allocations: 8.031 kB / 0.5994 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002865/0.4918, allocations: 172.5 kB / 0.5996 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.4966, allocations: 0.62 MB / 0.6002 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4981, allocations: 0.776 MB / 0.601 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.4984, allocations: 209.5 kB / 0.6012 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.4986, allocations: 103.9 kB / 0.6013 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.5029, allocations: 1.818 MB / 0.603 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/0.5029, allocations: 7.938 kB / 0.603 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.5031, allocations: 44 kB / 0.6031 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/0.5032, allocations: 46 kB / 0.6031 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/0.5072, allocations: 1.639 MB / 0.6047 GB, free: 7.59 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.01019/0.5174, allocations: 8.606 MB / 0.6131 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.5205, allocations: 0.9889 MB / 0.6141 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008626/0.5214, allocations: 418.3 kB / 0.6145 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04554/0.567, allocations: 27.5 MB / 0.6414 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.567, allocations: 39.12 kB / 0.6414 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005814/0.5676, allocations: 94.94 kB / 0.6415 GB, free: 13.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 3.486e-06/0.5676, allocations: 0 / 0.6415 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01059/0.5782, allocations: 3.458 MB / 0.6449 GB, free: 9.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.5783, allocations: 111.5 kB / 0.645 GB, free: 9.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.5794, allocations: 0.8488 MB / 0.6458 GB, free: 8.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.5795, allocations: 41.7 kB / 0.6458 GB, free: 8.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.5799, allocations: 0.5717 MB / 0.6464 GB, free: 7.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.5801, allocations: 272.1 kB / 0.6466 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.5805, allocations: 266.6 kB / 0.6469 GB, free: 7.383 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.5807, allocations: 410.7 kB / 0.6473 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000896/0.5816, allocations: 434.3 kB / 0.6477 GB, free: 6.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.5829, allocations: 0.9969 MB / 0.6487 GB, free: 5.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/0.5853, allocations: 1.494 MB / 0.6501 GB, free: 3.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/0.5854, allocations: 8 kB / 0.6501 GB, free: 3.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003514/0.5889, allocations: 1.728 MB / 0.6518 GB, free: 1.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5889, allocations: 16 kB / 0.6519 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.5889, allocations: 19.98 kB / 0.6519 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.5915, allocations: 0.5989 MB / 0.6525 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.5922, allocations: 247.6 kB / 0.6527 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.5945, allocations: 1.824 MB / 0.6545 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009999/0.5955, allocations: 72.03 kB / 0.6545 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5956, allocations: 75.98 kB / 0.6546 GB, free: 14.87 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.0006338/0.5963, allocations: 343.4 kB / 0.6549 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.5966, allocations: 106.7 kB / 0.655 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005586/0.6022, allocations: 4.458 MB / 0.6594 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/0.6022, allocations: 55.91 kB / 0.6595 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.6023, allocations: 4 kB / 0.6595 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.6023, allocations: 7.969 kB / 0.6595 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007196/0.6095, allocations: 6.262 MB / 0.6656 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.6095, allocations: 0 / 0.6656 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.6101, allocations: 155.8 kB / 0.6657 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.6117, allocations: 0.5344 MB / 0.6662 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.6117, allocations: 23.98 kB / 0.6663 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.6133, allocations: 1.799 MB / 0.668 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6133, allocations: 0 / 0.668 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/0.6186, allocations: 3.939 MB / 0.6719 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.6192, allocations: 370.1 kB / 0.6722 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/0.6194, allocations: 27.84 kB / 0.6723 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.6201, allocations: 47.97 kB / 0.6723 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6203, allocations: 72.89 kB / 0.6724 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.6203, allocations: 35.98 kB / 0.6724 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009234/0.6213, allocations: 0.6588 MB / 0.673 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.343e-06/0.6213, allocations: 0 / 0.673 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004012/0.6253, allocations: 1.46 MB / 0.6745 GB, free: 10.23 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.01079/0.6361, allocations: 5.758 MB / 0.6801 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004654/0.6408, allocations: 1.796 MB / 0.6818 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6408, allocations: 0 / 0.6818 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.6425, allocations: 1.208 MB / 0.683 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.6453, allocations: 0.5422 MB / 0.6836 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.6654, allocations: 12.96 MB / 0.6962 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/0.6665, allocations: 1.391 MB / 0.6976 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001318/0.6678, allocations: 0.5952 MB / 0.6982 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/0.6685, allocations: 0.6438 MB / 0.6988 GB, free: 452 kB / 0.5294 GB Notification: Performance of SimCode: time 6.32e-07/0.6685, allocations: 0 / 0.6988 GB, free: 452 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2997/0.9683, allocations: 75.47 MB / 0.7725 GB, free: 161.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.05, allocations: 4.5 kB / 0.7725 GB, free: 161.5 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/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)