Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001326/0.001326, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.325/1.325, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2052/0.2052, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.32, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01791/0.338, allocations: 16.67 MB / 0.5359 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009504/0.3475, allocations: 6.972 MB / 0.5427 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.3486, allocations: 25.78 kB / 0.5427 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3497, allocations: 378.3 kB / 0.5431 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.3521, allocations: 1.029 MB / 0.5441 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.3571, allocations: 1.984 MB / 0.546 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.3598, allocations: 2.191 MB / 0.5481 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009211/0.3607, allocations: 0.6564 MB / 0.5488 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.3621, allocations: 0.8578 MB / 0.5496 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3631, allocations: 0.8264 MB / 0.5504 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.3633, allocations: 84 kB / 0.5505 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.3658, allocations: 1.314 MB / 0.5518 GB, free: 11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.3661, allocations: 331.1 kB / 0.5521 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.3666, allocations: 493.6 kB / 0.5526 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.369, allocations: 1.991 MB / 0.5545 GB, free: 8.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.369, allocations: 0 / 0.5545 GB, free: 8.199 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3691, allocations: 0 / 0.5545 GB, free: 8.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3691, allocations: 0 / 0.5545 GB, free: 8.199 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002622/0.3717, allocations: 1.384 MB / 0.5559 GB, free: 6.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3717, allocations: 8.031 kB / 0.5559 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.3721, allocations: 115.8 kB / 0.556 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3732, allocations: 0.6556 MB / 0.5566 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.861e-05/0.3733, allocations: 112.7 kB / 0.5567 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3734, allocations: 55.98 kB / 0.5568 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.3749, allocations: 1.007 MB / 0.5578 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3749, allocations: 7.984 kB / 0.5578 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/0.375, allocations: 31.98 kB / 0.5578 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.3751, allocations: 53.22 kB / 0.5579 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3765, allocations: 0.9146 MB / 0.5587 GB, free: 3.703 MB / 414.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.006166/0.3827, allocations: 4.061 MB / 0.5627 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.3837, allocations: 0.6487 MB / 0.5633 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.3843, allocations: 410.1 kB / 0.5637 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00325/0.3875, allocations: 2.342 MB / 0.566 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007868/0.3883, allocations: 0.4914 MB / 0.5665 GB, free: 11.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=48): time 2.285e-06/0.3883, allocations: 0 / 0.5665 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.005333/0.3937, allocations: 2.609 MB / 0.5691 GB, free: 8.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.3938, allocations: 251.7 kB / 0.5693 GB, free: 8.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3949, allocations: 0.8407 MB / 0.5701 GB, free: 7.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.3949, allocations: 33.7 kB / 0.5701 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.3953, allocations: 419.7 kB / 0.5705 GB, free: 6.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.3954, allocations: 181.5 kB / 0.5707 GB, free: 6.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.3957, allocations: 162.5 kB / 0.5709 GB, free: 6.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3959, allocations: 337.9 kB / 0.5712 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.3965, allocations: 384.6 kB / 0.5716 GB, free: 5.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.3972, allocations: 0.6175 MB / 0.5722 GB, free: 5.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.3985, allocations: 0.9671 MB / 0.5731 GB, free: 4.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3985, allocations: 4 kB / 0.5731 GB, free: 4.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002163/0.4007, allocations: 1.282 MB / 0.5744 GB, free: 2.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.4007, allocations: 36.36 kB / 0.5744 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4008, allocations: 8 kB / 0.5744 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/0.4017, allocations: 361.7 kB / 0.5748 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.4023, allocations: 159.7 kB / 0.5749 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.4037, allocations: 1.448 MB / 0.5763 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.4044, allocations: 35.97 kB / 0.5764 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.4045, allocations: 40 kB / 0.5764 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008478/0.4053, allocations: 0.5683 MB / 0.5769 GB, free: 64 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000771/0.4061, allocations: 0.6144 MB / 0.5775 GB, free: 15.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001255/0.4074, allocations: 0.964 MB / 0.5785 GB, free: 14.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.4074, allocations: 4 kB / 0.5785 GB, free: 14.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002108/0.4095, allocations: 1.259 MB / 0.5797 GB, free: 12.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.4095, allocations: 41.7 kB / 0.5798 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4095, allocations: 8 kB / 0.5798 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000765/0.4103, allocations: 337.7 kB / 0.5801 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.4109, allocations: 155.7 kB / 0.5802 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.4122, allocations: 1.444 MB / 0.5817 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.4129, allocations: 39.98 kB / 0.5817 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.413, allocations: 35.98 kB / 0.5817 GB, free: 10.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.4132, allocations: 269.7 kB / 0.582 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.4134, allocations: 87.03 kB / 0.5821 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.4155, allocations: 1.099 MB / 0.5831 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4155, allocations: 3.984 kB / 0.5831 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4155, allocations: 3.938 kB / 0.5831 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/0.416, allocations: 240 kB / 0.5834 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4162, allocations: 23.78 kB / 0.5834 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.4167, allocations: 35.97 kB / 0.5834 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.4169, allocations: 52.31 kB / 0.5835 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002114/0.419, allocations: 1.129 MB / 0.5846 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00241/0.4214, allocations: 1.497 MB / 0.586 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005797/0.422, allocations: 395.4 kB / 0.5864 GB, free: 5.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008217/0.4228, allocations: 0.581 MB / 0.587 GB, free: 5.383 MB / 446.1 MB Notification: Performance of Backend: time 6.41e-07/0.4229, allocations: 0 / 0.587 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.4275, allocations: 1.788 MB / 0.5887 GB, free: 3.57 MB / 446.1 MB Notification: Performance of SimCode: time 0.003637/0.4312, allocations: 2.315 MB / 0.591 GB, free: 1.207 MB / 446.1 MB Notification: Performance of Templates: time 0.04146/0.4726, allocations: 25.77 MB / 0.6162 GB, free: 7.598 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)