Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.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: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|junctionVolume.medium.T|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 106 kB / 17.08 MB, free: 5.824 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.001364/0.001364, allocations: 194.2 kB / 18.02 MB, free: 4.965 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.276/1.276, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1895/0.1895, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 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.001471/0.001471, allocations: 71.89 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.09008, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17): time 0.4299/0.52, allocations: 260.3 MB / 0.7427 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.5466, allocations: 19.35 MB / 0.7616 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.5488, allocations: 95.44 kB / 0.7617 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.5509, allocations: 0.99 MB / 0.7627 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.2786/0.8296, allocations: 5.456 MB / 0.768 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.8403, allocations: 5.334 MB / 0.7732 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009629/0.8499, allocations: 6.984 MB / 0.7801 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.8528, allocations: 1.638 MB / 0.7817 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005519/0.8583, allocations: 2.732 MB / 0.7843 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.8629, allocations: 2.574 MB / 0.7868 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000583/0.8635, allocations: 233.8 kB / 0.7871 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009453/0.8729, allocations: 4.743 MB / 0.7917 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.8741, allocations: 0.9561 MB / 0.7926 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.8762, allocations: 1.381 MB / 0.794 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009601/0.8858, allocations: 6.145 MB / 0.8 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8858, allocations: 0 / 0.8 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8858, allocations: 0 / 0.8 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.8859, allocations: 0.9062 kB / 0.8 GB, free: 1.746 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.006669/0.8925, allocations: 3.619 MB / 0.8035 GB, free: 16.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.8926, allocations: 17.88 kB / 0.8035 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/0.8951, allocations: 445.1 kB / 0.804 GB, free: 16.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.8981, allocations: 2.092 MB / 0.806 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.8982, allocations: 148.7 kB / 0.8061 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.8985, allocations: 171.8 kB / 0.8063 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.902, allocations: 2.677 MB / 0.8089 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.9021, allocations: 11.8 kB / 0.8089 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.9023, allocations: 71.39 kB / 0.809 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.9025, allocations: 193.3 kB / 0.8092 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.9058, allocations: 2.331 MB / 0.8115 GB, free: 15.17 MB / 0.6075 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.01363/0.9194, allocations: 11.34 MB / 0.8225 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.9224, allocations: 1.842 MB / 0.8243 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.924, allocations: 1.117 MB / 0.8254 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002765/0.9268, allocations: 2.409 MB / 0.8278 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/0.9287, allocations: 1.334 MB / 0.8291 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=172): time 5.19e-06/0.9287, allocations: 8.047 kB / 0.8291 GB, free: 5.914 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T 5: junctionVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=200): time 0.0279/0.9566, allocations: 11.8 MB / 0.8406 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.9568, allocations: 287 kB / 0.8409 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.9588, allocations: 1.654 MB / 0.8425 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.9591, allocations: 66.39 kB / 0.8426 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/0.9597, allocations: 0.9264 MB / 0.8435 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005503/0.9603, allocations: 0.6782 MB / 0.8441 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007351/0.961, allocations: 0.5055 MB / 0.8446 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.9611, allocations: 302.1 kB / 0.8449 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.9629, allocations: 1.117 MB / 0.846 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.9651, allocations: 1.641 MB / 0.8476 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.9691, allocations: 2.921 MB / 0.8505 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.9691, allocations: 4 kB / 0.8505 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005832/0.975, allocations: 3.463 MB / 0.8538 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.975, allocations: 79.95 kB / 0.8539 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.9751, allocations: 16.86 kB / 0.8539 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007811/0.9759, allocations: 303.8 kB / 0.8542 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.9782, allocations: 0.5706 MB / 0.8548 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.9802, allocations: 3.011 MB / 0.8577 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.9823, allocations: 119.4 kB / 0.8578 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/0.9827, allocations: 206.1 kB / 0.858 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002511/0.9852, allocations: 1.478 MB / 0.8595 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002102/0.9873, allocations: 1.573 MB / 0.861 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004061/0.9914, allocations: 2.768 MB / 0.8637 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.561e-05/0.9914, allocations: 4 kB / 0.8637 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.005706/0.9971, allocations: 3.301 MB / 0.8669 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.9972, allocations: 76.02 kB / 0.867 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.9973, allocations: 16 kB / 0.867 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007477/0.998, allocations: 306.8 kB / 0.8673 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1, allocations: 0.5686 MB / 0.8679 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/1.002, allocations: 3.012 MB / 0.8708 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.005, allocations: 124.1 kB / 0.8709 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/1.005, allocations: 211.6 kB / 0.8711 GB, free: 6.496 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 14 (valveOpening2.nextEventScaled,valveOpening2.nextEvent,$PRE.valveOpening2.nextEvent,valveOpening2.last,valveOpening2.b,valveOpening2.a,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,1), (1,1), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007594/1.006, allocations: 390.1 kB / 0.8715 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005911/1.006, allocations: 225.3 kB / 0.8717 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.014, allocations: 3.92 MB / 0.8756 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/1.019, allocations: 2.99 MB / 0.8785 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.019, allocations: 4 kB / 0.8785 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.02, allocations: 0.576 MB / 0.879 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006142/1.021, allocations: 48 kB / 0.8791 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/1.022, allocations: 83.83 kB / 0.8792 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/1.023, allocations: 161.8 kB / 0.8793 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006831/1.029, allocations: 3.32 MB / 0.8826 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006892/1.036, allocations: 4.563 MB / 0.887 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001863/1.038, allocations: 1.316 MB / 0.8883 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001601/1.04, allocations: 1.102 MB / 0.8894 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of Backend: time 1.502e-06/1.04, allocations: 4 kB / 0.8894 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.051, allocations: 5.376 MB / 0.8946 GB, free: 14.41 MB / 0.67 GB Notification: Performance of SimCode: time 0.008725/1.06, allocations: 5.424 MB / 0.8999 GB, free: 8.961 MB / 0.67 GB Notification: Performance of Templates: time 0.1251/1.185, allocations: 82.91 MB / 0.9809 GB, free: 6.312 MB / 0.7481 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes17.pipe 2>&1)