Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_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.0008603/0.0008602, allocations: 94.62 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 184.3 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 61.93 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.4898/0.6136, allocations: 158.2 MB / 0.615 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.6306, allocations: 11.69 MB / 0.6264 GB, free: 7.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6319, allocations: 51.56 kB / 0.6264 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.6332, allocations: 405.9 kB / 0.6268 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.6392, allocations: 2.027 MB / 0.6288 GB, free: 5.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007074/0.6463, allocations: 2.61 MB / 0.6313 GB, free: 2.863 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.6497, allocations: 1.76 MB / 0.6331 GB, free: 1.094 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.6509, allocations: 0.6432 MB / 0.6337 GB, free: 448 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002385/0.6533, allocations: 1.071 MB / 0.6347 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.6548, allocations: 0.9075 MB / 0.6356 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.655, allocations: 56 kB / 0.6357 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/0.6614, allocations: 2.446 MB / 0.6381 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.6621, allocations: 343 kB / 0.6384 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.6626, allocations: 245.1 kB / 0.6386 GB, free: 11.37 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005014/0.6676, allocations: 2.339 MB / 0.6409 GB, free: 9.023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6677, allocations: 0 / 0.6409 GB, free: 9.023 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6677, allocations: 0 / 0.6409 GB, free: 9.023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.6677, allocations: 0 / 0.6409 GB, free: 9.023 MB / 478.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.004079/0.6718, allocations: 1.636 MB / 0.6425 GB, free: 7.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6718, allocations: 8.031 kB / 0.6425 GB, free: 7.328 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.6721, allocations: 122.7 kB / 0.6426 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.6732, allocations: 218.2 kB / 0.6428 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.6746, allocations: 0.7622 MB / 0.6436 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.6747, allocations: 53.98 kB / 0.6436 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.6749, allocations: 79.92 kB / 0.6437 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.6768, allocations: 1.229 MB / 0.6449 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.6768, allocations: 4 kB / 0.6449 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.6769, allocations: 35.97 kB / 0.6449 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.6771, allocations: 81.94 kB / 0.645 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.6791, allocations: 1.249 MB / 0.6462 GB, free: 3.402 MB / 478.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.007481/0.6866, allocations: 4.825 MB / 0.651 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.6878, allocations: 0.7726 MB / 0.6517 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.6882, allocations: 349 kB / 0.652 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.6882, allocations: 47.06 kB / 0.6521 GB, free: 13.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 3.146e-06/0.6882, allocations: 0 / 0.6521 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=73): time 0.007715/0.6959, allocations: 2.815 MB / 0.6548 GB, free: 10.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.6961, allocations: 218.3 kB / 0.655 GB, free: 9.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6973, allocations: 0.9308 MB / 0.656 GB, free: 8.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.6974, allocations: 41.7 kB / 0.656 GB, free: 8.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.6977, allocations: 487.5 kB / 0.6565 GB, free: 8.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.6979, allocations: 260.2 kB / 0.6567 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.698, allocations: 20 kB / 0.6567 GB, free: 8.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6981, allocations: 349.9 kB / 0.6571 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.6988, allocations: 421.8 kB / 0.6575 GB, free: 7.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008655/0.6997, allocations: 0.6687 MB / 0.6581 GB, free: 6.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.7006, allocations: 0.5183 MB / 0.6586 GB, free: 6.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.7006, allocations: 4 kB / 0.6586 GB, free: 6.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002428/0.703, allocations: 1.442 MB / 0.66 GB, free: 4.637 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000785/0.7038, allocations: 2.453 MB / 0.6624 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7038, allocations: 4 kB / 0.6624 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/0.7072, allocations: 0.7134 MB / 0.6631 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/0.7079, allocations: 179.7 kB / 0.6633 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.7094, allocations: 1.29 MB / 0.6646 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7105, allocations: 75.95 kB / 0.6646 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.7107, allocations: 87.98 kB / 0.6647 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.7107, allocations: 4 kB / 0.6647 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/0.7128, allocations: 1.215 MB / 0.6659 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7128, allocations: 8 kB / 0.6659 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.7143, allocations: 365.5 kB / 0.6663 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.7151, allocations: 207.7 kB / 0.6665 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.7161, allocations: 0.9791 MB / 0.6674 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.7173, allocations: 67.97 kB / 0.6675 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.7174, allocations: 91.98 kB / 0.6676 GB, free: 12.66 MB / 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.001052/0.7185, allocations: 376.9 kB / 0.6679 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.7189, allocations: 110.7 kB / 0.668 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.7232, allocations: 1.906 MB / 0.6699 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.7233, allocations: 15.94 kB / 0.6699 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.7233, allocations: 4 kB / 0.6699 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7233, allocations: 0 / 0.6699 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.7276, allocations: 2.5 MB / 0.6724 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.7277, allocations: 7.984 kB / 0.6724 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/0.7284, allocations: 188.1 kB / 0.6725 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.7286, allocations: 24.84 kB / 0.6726 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/0.7286, allocations: 35.98 kB / 0.6726 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009927/0.7296, allocations: 1.295 MB / 0.6739 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7297, allocations: 4 kB / 0.6739 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.7325, allocations: 1.782 MB / 0.6756 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.733, allocations: 195.7 kB / 0.6758 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.7331, allocations: 20 kB / 0.6758 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.7339, allocations: 55.97 kB / 0.6759 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.734, allocations: 72.42 kB / 0.6759 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.7341, allocations: 75.97 kB / 0.676 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008684/0.735, allocations: 0.6457 MB / 0.6766 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.735, allocations: 0 / 0.6766 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002747/0.7378, allocations: 1.003 MB / 0.6776 GB, free: 1.914 MB / 0.4981 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.005142/0.7429, allocations: 3.847 MB / 0.6814 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003157/0.7461, allocations: 1.639 MB / 0.683 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.7461, allocations: 8.062 kB / 0.683 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.7471, allocations: 0.5679 MB / 0.6835 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002769/0.7498, allocations: 0.5729 MB / 0.6841 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.7562, allocations: 7.424 MB / 0.6914 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.7569, allocations: 1.106 MB / 0.6924 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003115/0.76, allocations: 1.484 MB / 0.6939 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008989/0.7609, allocations: 491.2 kB / 0.6944 GB, free: 480 kB / 0.5137 GB Notification: Performance of SimCode: time 2.465e-06/0.7609, allocations: 0 / 0.6944 GB, free: 480 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3558/1.117, allocations: 44.62 MB / 0.7379 GB, free: 190.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.117, allocations: 274.2 kB / 0.7382 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/4.227, allocations: 6.969 kB / 0.7382 GB, free: 189.7 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)