Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 95.14 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002879, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 63.47 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.4726/0.6287, allocations: 158.2 MB / 0.6248 GB, free: 7.039 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.6469, allocations: 11.69 MB / 0.6362 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.6489, allocations: 43.62 kB / 0.6362 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.6506, allocations: 409.9 kB / 0.6366 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007375/0.658, allocations: 2.025 MB / 0.6386 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007429/0.6654, allocations: 2.616 MB / 0.6412 GB, free: 6.254 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.6689, allocations: 1.749 MB / 0.6429 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.6701, allocations: 0.647 MB / 0.6435 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.6722, allocations: 1.071 MB / 0.6445 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6735, allocations: 0.9075 MB / 0.6454 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.6737, allocations: 56 kB / 0.6455 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005644/0.6793, allocations: 2.485 MB / 0.6479 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.6798, allocations: 331.1 kB / 0.6482 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004428/0.6803, allocations: 249.1 kB / 0.6485 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.6845, allocations: 2.35 MB / 0.6508 GB, free: 12.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6845, allocations: 0 / 0.6508 GB, free: 12.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6845, allocations: 0 / 0.6508 GB, free: 12.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.6846, allocations: 0 / 0.6508 GB, free: 12.38 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003765/0.6883, allocations: 1.632 MB / 0.6523 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.6884, allocations: 12.03 kB / 0.6524 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.6886, allocations: 118.7 kB / 0.6525 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6897, allocations: 218.4 kB / 0.6527 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.691, allocations: 0.7583 MB / 0.6534 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.6911, allocations: 65.97 kB / 0.6535 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.6913, allocations: 67.98 kB / 0.6535 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.6932, allocations: 1.233 MB / 0.6548 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.6932, allocations: 0 / 0.6548 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.6933, allocations: 31.98 kB / 0.6548 GB, free: 8.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.6935, allocations: 77.95 kB / 0.6549 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.6954, allocations: 1.249 MB / 0.6561 GB, free: 6.773 MB / 494.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.007486/0.7029, allocations: 4.828 MB / 0.6608 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.7043, allocations: 0.7678 MB / 0.6615 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.7046, allocations: 356.9 kB / 0.6619 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.7047, allocations: 43.12 kB / 0.6619 GB, free: 428 kB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 4.358e-06/0.7047, allocations: 4 kB / 0.6619 GB, free: 424 kB / 494.1 MB Notification: Performance of matching and sorting (n=73): time 0.008102/0.7128, allocations: 2.811 MB / 0.6647 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.713, allocations: 218.3 kB / 0.6649 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.7143, allocations: 0.9308 MB / 0.6658 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/0.7144, allocations: 45.7 kB / 0.6658 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/0.7148, allocations: 487.5 kB / 0.6663 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.715, allocations: 256.2 kB / 0.6665 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.7151, allocations: 20 kB / 0.6666 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7152, allocations: 345.9 kB / 0.6669 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007555/0.716, allocations: 421.8 kB / 0.6673 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009999/0.717, allocations: 0.6725 MB / 0.668 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.7179, allocations: 0.5221 MB / 0.6685 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7179, allocations: 4 kB / 0.6685 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002627/0.7206, allocations: 1.447 MB / 0.6699 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001254/0.7218, allocations: 2.449 MB / 0.6723 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.7219, allocations: 4 kB / 0.6723 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/0.7253, allocations: 0.7146 MB / 0.673 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.726, allocations: 187.7 kB / 0.6732 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.7279, allocations: 1.284 MB / 0.6744 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.729, allocations: 72 kB / 0.6745 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.7292, allocations: 95.92 kB / 0.6746 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.7293, allocations: 6.031 kB / 0.6746 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002253/0.7315, allocations: 1.211 MB / 0.6758 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7315, allocations: 8 kB / 0.6758 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.7331, allocations: 368.7 kB / 0.6761 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.7338, allocations: 211.7 kB / 0.6763 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.7349, allocations: 0.9746 MB / 0.6773 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.736, allocations: 68.02 kB / 0.6773 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.7361, allocations: 87.98 kB / 0.6774 GB, free: 28 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0008542/0.737, allocations: 376.8 kB / 0.6778 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.7373, allocations: 114.6 kB / 0.6779 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.7412, allocations: 1.916 MB / 0.6798 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.7413, allocations: 8 kB / 0.6798 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.7413, allocations: 0 / 0.6798 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.7413, allocations: 3.984 kB / 0.6798 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.7452, allocations: 2.493 MB / 0.6822 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.7452, allocations: 0 / 0.6822 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/0.746, allocations: 192 kB / 0.6824 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.7461, allocations: 32.84 kB / 0.6824 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.7462, allocations: 35.98 kB / 0.6824 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000993/0.7472, allocations: 1.296 MB / 0.6837 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7472, allocations: 0 / 0.6837 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.7498, allocations: 1.79 MB / 0.6855 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.7502, allocations: 195.7 kB / 0.6856 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.7504, allocations: 16 kB / 0.6857 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.7511, allocations: 56.02 kB / 0.6857 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7512, allocations: 68.42 kB / 0.6858 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.7513, allocations: 79.92 kB / 0.6859 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000879/0.7522, allocations: 0.6496 MB / 0.6865 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7522, allocations: 3.938 kB / 0.6865 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002769/0.755, allocations: 1.011 MB / 0.6875 GB, free: 5.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005719/0.7607, allocations: 3.84 MB / 0.6912 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003562/0.7643, allocations: 1.635 MB / 0.6928 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.7644, allocations: 12.11 kB / 0.6928 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.7655, allocations: 0.5718 MB / 0.6934 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.7685, allocations: 0.5777 MB / 0.694 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.7764, allocations: 7.436 MB / 0.7012 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/0.7772, allocations: 1.106 MB / 0.7023 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003607/0.7809, allocations: 1.476 MB / 0.7037 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.7819, allocations: 491.2 kB / 0.7042 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/0.7819, allocations: 0 / 0.7042 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.391/1.173, allocations: 44.57 MB / 0.7477 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.173, allocations: 265.4 kB / 0.748 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.341, allocations: 0 / 0.748 GB, free: 170.4 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)