Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",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.0009516/0.0009518, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.425/0.425, allocations: 43.54 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005534/0.0005535, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1605, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.5546/0.7152, allocations: 158.2 MB / 0.587 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0256/0.7408, allocations: 15.29 MB / 0.6019 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.7431, allocations: 47.56 kB / 0.6019 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.7449, allocations: 401.9 kB / 0.6023 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009792/0.7547, allocations: 2.502 MB / 0.6048 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008735/0.7634, allocations: 2.632 MB / 0.6073 GB, free: 8.766 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004406/0.7679, allocations: 1.745 MB / 0.609 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.7693, allocations: 0.6455 MB / 0.6097 GB, free: 6.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.7722, allocations: 1.071 MB / 0.6107 GB, free: 5.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.7741, allocations: 0.9036 MB / 0.6116 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.7743, allocations: 56 kB / 0.6117 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007709/0.782, allocations: 2.695 MB / 0.6143 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.7831, allocations: 343 kB / 0.6146 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007436/0.7839, allocations: 245.1 kB / 0.6148 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006439/0.7903, allocations: 2.472 MB / 0.6173 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7904, allocations: 0 / 0.6173 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.7904, allocations: 0 / 0.6173 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.7904, allocations: 3.938 kB / 0.6173 GB, free: 14.57 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.004607/0.795, allocations: 1.691 MB / 0.6189 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.7951, allocations: 12.03 kB / 0.6189 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.7954, allocations: 126.7 kB / 0.619 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.7966, allocations: 214.4 kB / 0.6193 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.7981, allocations: 0.7544 MB / 0.62 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.7982, allocations: 65.97 kB / 0.62 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.7983, allocations: 71.89 kB / 0.6201 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.8004, allocations: 1.225 MB / 0.6213 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.8004, allocations: 2.938 kB / 0.6213 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.8005, allocations: 35.98 kB / 0.6214 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.8007, allocations: 89.89 kB / 0.6214 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.8028, allocations: 1.237 MB / 0.6226 GB, free: 8.898 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.008686/0.8115, allocations: 4.859 MB / 0.6274 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.813, allocations: 0.7642 MB / 0.6281 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.8134, allocations: 325.7 kB / 0.6284 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.8134, allocations: 47.12 kB / 0.6285 GB, free: 2.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 3.126e-06/0.8135, allocations: 4 kB / 0.6285 GB, free: 2.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=73): time 0.4735/1.287, allocations: 2.793 MB / 0.6312 GB, free: 21.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/1.287, allocations: 216.3 kB / 0.6314 GB, free: 21.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.289, allocations: 0.93 MB / 0.6323 GB, free: 21.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.289, allocations: 41.2 kB / 0.6324 GB, free: 21.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/1.289, allocations: 490.2 kB / 0.6328 GB, free: 21.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/1.29, allocations: 256.5 kB / 0.6331 GB, free: 21.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/1.29, allocations: 19.56 kB / 0.6331 GB, free: 21.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/1.29, allocations: 346.1 kB / 0.6334 GB, free: 20.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/1.291, allocations: 423.3 kB / 0.6338 GB, free: 20.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009678/1.292, allocations: 0.6661 MB / 0.6345 GB, free: 20.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/1.293, allocations: 0.5102 MB / 0.635 GB, free: 20.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.293, allocations: 2.031 kB / 0.635 GB, free: 20.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002801/1.295, allocations: 1.444 MB / 0.6364 GB, free: 20.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006697/1.296, allocations: 2.446 MB / 0.6388 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.296, allocations: 6.031 kB / 0.6388 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/1.3, allocations: 0.7254 MB / 0.6395 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/1.3, allocations: 184.8 kB / 0.6397 GB, free: 17.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/1.302, allocations: 1.276 MB / 0.6409 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/1.303, allocations: 71.19 kB / 0.641 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/1.303, allocations: 99.38 kB / 0.6411 GB, free: 17.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.303, allocations: 4.531 kB / 0.6411 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002355/1.306, allocations: 1.199 MB / 0.6423 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.306, allocations: 7.031 kB / 0.6423 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/1.307, allocations: 369.2 kB / 0.6426 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/1.308, allocations: 210.2 kB / 0.6428 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009767/1.309, allocations: 0.9695 MB / 0.6438 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/1.31, allocations: 75.06 kB / 0.6438 GB, free: 16.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.31, allocations: 92.28 kB / 0.6439 GB, free: 16.83 MB / 494.1 MB 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.00066/1.311, allocations: 369 kB / 0.6443 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/1.311, allocations: 109.4 kB / 0.6444 GB, free: 16.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/1.314, allocations: 1.383 MB / 0.6457 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.314, allocations: 7.531 kB / 0.6457 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.314, allocations: 1.859 kB / 0.6457 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.314, allocations: 3.812 kB / 0.6458 GB, free: 16.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/1.318, allocations: 2.14 MB / 0.6478 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.318, allocations: 2.906 kB / 0.6478 GB, free: 16.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007546/1.318, allocations: 182.4 kB / 0.648 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/1.319, allocations: 23.92 kB / 0.648 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/1.319, allocations: 34.89 kB / 0.6481 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007813/1.319, allocations: 1.29 MB / 0.6493 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.319, allocations: 6.422 kB / 0.6493 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/1.322, allocations: 1.689 MB / 0.651 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/1.323, allocations: 188.4 kB / 0.6512 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.323, allocations: 25.8 kB / 0.6512 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/1.323, allocations: 51.77 kB / 0.6512 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.324, allocations: 65.45 kB / 0.6513 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.324, allocations: 70.14 kB / 0.6514 GB, free: 14.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009745/1.325, allocations: 0.6441 MB / 0.652 GB, free: 14.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.325, allocations: 0 / 0.652 GB, free: 14.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003972/1.329, allocations: 1.08 MB / 0.6531 GB, free: 14.12 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.00675/1.335, allocations: 3.531 MB / 0.6565 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/1.34, allocations: 1.628 MB / 0.6581 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.34, allocations: 7.875 kB / 0.6581 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.341, allocations: 0.5629 MB / 0.6587 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.344, allocations: 0.5739 MB / 0.6592 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/1.353, allocations: 7.408 MB / 0.6664 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009512/1.354, allocations: 1.103 MB / 0.6675 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003206/1.357, allocations: 0.6018 MB / 0.6681 GB, free: 5.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009634/1.358, allocations: 444.2 kB / 0.6685 GB, free: 5.902 MB / 494.1 MB Notification: Performance of SimCode: time 2.746e-06/1.358, allocations: 1.859 kB / 0.6685 GB, free: 5.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.481, allocations: 46.18 MB / 0.7136 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003648/1.482, allocations: 286.8 kB / 0.7139 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/4.709, allocations: 0 / 0.7139 GB, free: 7.367 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) Environment - environmentSimulation: