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: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001093, allocations: 122.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4817, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6346/1.116, allocations: 203 MB / 0.7299 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01463/1.131, allocations: 11.22 MB / 0.7409 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/1.133, allocations: 38.97 kB / 0.7409 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/1.135, allocations: 481.3 kB / 0.7414 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008693/1.143, allocations: 2.577 MB / 0.7439 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009979/1.153, allocations: 3.369 MB / 0.7472 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004854/1.158, allocations: 3.254 MB / 0.7504 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/1.16, allocations: 0.7903 MB / 0.7511 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/1.162, allocations: 1.298 MB / 0.7524 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/1.164, allocations: 1.314 MB / 0.7537 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/1.165, allocations: 114.8 kB / 0.7538 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006077/1.171, allocations: 2.844 MB / 0.7566 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005364/1.171, allocations: 426.1 kB / 0.757 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009465/1.172, allocations: 0.6434 MB / 0.7576 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006828/1.179, allocations: 3.423 MB / 0.761 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.179, allocations: 0.875 kB / 0.761 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.355e-06/1.179, allocations: 0 / 0.761 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.836e-05/1.179, allocations: 0.9688 kB / 0.761 GB, free: 1.242 MB / 0.5606 GB 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.00429/1.183, allocations: 1.88 MB / 0.7628 GB, free: 16.27 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.184, allocations: 10.78 kB / 0.7628 GB, free: 16.27 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/1.185, allocations: 222.3 kB / 0.763 GB, free: 16.21 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.186, allocations: 0.8304 MB / 0.7638 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/1.186, allocations: 62.84 kB / 0.7639 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.186, allocations: 71.89 kB / 0.764 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/1.188, allocations: 1.244 MB / 0.7652 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.188, allocations: 3.875 kB / 0.7652 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/1.188, allocations: 31.94 kB / 0.7652 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.707e-05/1.188, allocations: 84.19 kB / 0.7653 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/1.19, allocations: 1.208 MB / 0.7665 GB, free: 15.69 MB / 0.5763 GB 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.007232/1.197, allocations: 4.831 MB / 0.7712 GB, free: 13.44 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/1.199, allocations: 0.7639 MB / 0.7719 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/1.2, allocations: 381.2 kB / 0.7723 GB, free: 13.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/1.2, allocations: 355.4 kB / 0.7726 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.2, allocations: 47.66 kB / 0.7727 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=68): time 2.855e-06/1.2, allocations: 0 / 0.7727 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of matching and sorting (n=73): time 0.008005/1.208, allocations: 2.808 MB / 0.7754 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.208, allocations: 219.2 kB / 0.7756 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.209, allocations: 0.9485 MB / 0.7766 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.343e-05/1.21, allocations: 41.83 kB / 0.7766 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/1.21, allocations: 480.9 kB / 0.7771 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/1.21, allocations: 258.3 kB / 0.7773 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/1.211, allocations: 232 kB / 0.7775 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.211, allocations: 345.3 kB / 0.7778 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/1.212, allocations: 440.1 kB / 0.7783 GB, free: 11.24 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.213, allocations: 0.6864 MB / 0.7789 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/1.214, allocations: 1.086 MB / 0.78 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.214, allocations: 2.812 kB / 0.78 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002479/1.217, allocations: 1.483 MB / 0.7814 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.217, allocations: 9.031 kB / 0.7815 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.217, allocations: 7.344 kB / 0.7815 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/1.22, allocations: 0.7233 MB / 0.7822 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/1.221, allocations: 181.5 kB / 0.7823 GB, free: 10.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/1.223, allocations: 1.285 MB / 0.7836 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/1.223, allocations: 47.64 kB / 0.7836 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/1.224, allocations: 92.7 kB / 0.7837 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001123/1.225, allocations: 0.6128 MB / 0.7843 GB, free: 9.977 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000933/1.226, allocations: 0.6604 MB / 0.785 GB, free: 9.676 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001569/1.227, allocations: 1.031 MB / 0.786 GB, free: 9.414 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/1.227, allocations: 3.562 kB / 0.786 GB, free: 9.414 MB / 0.5763 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.002338/1.23, allocations: 1.334 MB / 0.7873 GB, free: 9.301 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.23, allocations: 8.125 kB / 0.7873 GB, free: 9.301 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.23, allocations: 9.281 kB / 0.7873 GB, free: 9.301 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/1.231, allocations: 368.2 kB / 0.7877 GB, free: 9.289 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/1.232, allocations: 208.6 kB / 0.7879 GB, free: 9.289 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/1.233, allocations: 0.9799 MB / 0.7888 GB, free: 8.723 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/1.234, allocations: 48.31 kB / 0.7889 GB, free: 8.715 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.234, allocations: 88.25 kB / 0.7889 GB, free: 8.711 MB / 0.5763 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004553/1.234, allocations: 238.7 kB / 0.7892 GB, free: 8.527 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/1.235, allocations: 117.6 kB / 0.7893 GB, free: 8.465 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/1.238, allocations: 1.899 MB / 0.7911 GB, free: 7.902 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.238, allocations: 3.984 kB / 0.7911 GB, free: 7.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.238, allocations: 0 / 0.7911 GB, free: 7.898 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.238, allocations: 181 kB / 0.7913 GB, free: 7.738 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.238, allocations: 20.97 kB / 0.7913 GB, free: 7.734 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/1.239, allocations: 35.19 kB / 0.7914 GB, free: 7.727 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.239, allocations: 60.31 kB / 0.7914 GB, free: 7.707 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001977/1.241, allocations: 1.005 MB / 0.7924 GB, free: 7.402 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002446/1.244, allocations: 1.628 MB / 0.794 GB, free: 6.227 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006608/1.244, allocations: 415.5 kB / 0.7944 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0009177/1.245, allocations: 0.6587 MB / 0.795 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of Backend: time 3.1e-07/1.245, allocations: 0 / 0.795 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.005986/1.251, allocations: 2.296 MB / 0.7973 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of SimCode: time 0.003948/1.255, allocations: 2.533 MB / 0.7998 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of Templates: time 0.06594/1.321, allocations: 42.47 MB / 0.8412 GB, free: 7.199 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)