Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001081/0.001081, allocations: 96.67 kB / 15.7 MB, free: 468 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.001061/0.001061, allocations: 175.2 kB / 16.57 MB, free: 6.402 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.328/1.328, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3437/0.3437, allocations: 43.53 MB / 314.5 MB, free: 9.023 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.0004514/0.0004516, allocations: 12 kB / 383.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 58.87 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.1987/0.304, allocations: 14.36 MB / 457.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007434/0.3115, allocations: 6.119 MB / 463.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.3121, allocations: 23.69 kB / 463.3 MB, free: 36.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.3128, allocations: 335.8 kB / 463.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.3146, allocations: 0.8267 MB / 464.4 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.318, allocations: 1.523 MB / 465.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3193, allocations: 1.239 MB / 467.2 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005911/0.3199, allocations: 0.5467 MB / 467.7 MB, free: 36.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008013/0.3207, allocations: 0.6754 MB / 468.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.3213, allocations: 0.5534 MB / 469 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.3214, allocations: 46.22 kB / 469 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.3231, allocations: 1.156 MB / 470.2 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.3233, allocations: 269.7 kB / 470.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3235, allocations: 192.9 kB / 470.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3247, allocations: 1.378 MB / 472 MB, free: 35.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3248, allocations: 0 / 472 MB, free: 35.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3248, allocations: 2.781 kB / 472 MB, free: 35.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3248, allocations: 3.938 kB / 472 MB, free: 35.66 MB / 382.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.002029/0.3268, allocations: 1.225 MB / 473.2 MB, free: 34.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3269, allocations: 17.73 kB / 473.2 MB, free: 34.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/0.3272, allocations: 113.3 kB / 473.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.328, allocations: 0.597 MB / 473.9 MB, free: 34.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.3281, allocations: 103.7 kB / 474 MB, free: 34.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.3282, allocations: 55.2 kB / 474.1 MB, free: 34.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3295, allocations: 1.004 MB / 475.1 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3296, allocations: 3.281 kB / 475.1 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.3296, allocations: 23.91 kB / 475.1 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.3297, allocations: 55.66 kB / 475.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3309, allocations: 0.9152 MB / 476.1 MB, free: 34.3 MB / 382.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.004994/0.3359, allocations: 4.124 MB / 480.2 MB, free: 31.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.3368, allocations: 0.6446 MB / 480.9 MB, free: 31.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/0.3395, allocations: 2.38 MB / 483.2 MB, free: 29.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005773/0.3401, allocations: 0.4915 MB / 483.7 MB, free: 29.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.3401, allocations: 0 / 483.7 MB, free: 29.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004659/0.3447, allocations: 2.701 MB / 486.4 MB, free: 27.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.3448, allocations: 248.2 kB / 486.7 MB, free: 27.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/0.3457, allocations: 0.8296 MB / 487.5 MB, free: 27.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.3458, allocations: 36.52 kB / 487.5 MB, free: 27.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.3461, allocations: 420.7 kB / 488 MB, free: 26.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3462, allocations: 176.2 kB / 488.1 MB, free: 26.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.3462, allocations: 15.06 kB / 488.1 MB, free: 26.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.3463, allocations: 336.8 kB / 488.5 MB, free: 26.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.3468, allocations: 369.4 kB / 488.8 MB, free: 26.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.3474, allocations: 0.6023 MB / 489.4 MB, free: 25.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/0.348, allocations: 453.2 kB / 489.9 MB, free: 25.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.348, allocations: 0 / 489.9 MB, free: 25.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001954/0.35, allocations: 1.252 MB / 491.1 MB, free: 25.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.3504, allocations: 2.563 MB / 493.7 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3504, allocations: 5.906 kB / 493.7 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.3514, allocations: 357.7 kB / 494 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.3521, allocations: 157.3 kB / 494.2 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.3533, allocations: 1.45 MB / 495.6 MB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.354, allocations: 51.81 kB / 495.7 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/0.3541, allocations: 35.52 kB / 495.7 MB, free: 21.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3542, allocations: 3.969 kB / 495.7 MB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002131/0.3563, allocations: 1.169 MB / 496.9 MB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.3563, allocations: 10.88 kB / 496.9 MB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008607/0.3572, allocations: 339.6 kB / 497.2 MB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.3578, allocations: 157.4 kB / 497.4 MB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.3589, allocations: 1.433 MB / 498.8 MB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.3597, allocations: 58.12 kB / 498.9 MB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.741e-05/0.3598, allocations: 40.31 kB / 498.9 MB, free: 19.38 MB / 382.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 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006638/0.3605, allocations: 389.9 kB / 499.3 MB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.3607, allocations: 90.19 kB / 499.4 MB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.3628, allocations: 1.099 MB / 0.4888 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3628, allocations: 5.75 kB / 0.4888 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3629, allocations: 0 / 0.4888 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3629, allocations: 8.016 kB / 0.4888 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.3659, allocations: 1.944 MB / 0.4907 GB, free: 17.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3659, allocations: 0.5625 kB / 0.4907 GB, free: 17.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.3663, allocations: 86.81 kB / 0.4908 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/0.3672, allocations: 347.3 kB / 0.4911 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.3673, allocations: 18.95 kB / 0.4911 GB, free: 17.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.3684, allocations: 1.443 MB / 0.4925 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3684, allocations: 4.938 kB / 0.4925 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.3707, allocations: 1.561 MB / 0.4941 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.3713, allocations: 266.6 kB / 0.4943 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/0.3715, allocations: 17.89 kB / 0.4943 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/0.3721, allocations: 42.69 kB / 0.4944 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3723, allocations: 51.55 kB / 0.4944 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.3724, allocations: 25.55 kB / 0.4944 GB, free: 15.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009599/0.3733, allocations: 0.5821 MB / 0.495 GB, free: 15.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3734, allocations: 0 / 0.495 GB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001947/0.3753, allocations: 0.623 MB / 0.4956 GB, free: 15.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.level,tank.medium.T) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.3766, allocations: 490.6 kB / 0.4961 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.3799, allocations: 1.56 MB / 0.4976 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3799, allocations: 6.281 kB / 0.4976 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.381, allocations: 0.4943 MB / 0.4981 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.3827, allocations: 325.8 kB / 0.4984 GB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.3862, allocations: 1.98 MB / 0.5003 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.3868, allocations: 1.03 MB / 0.5013 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001259/0.3881, allocations: 327.7 kB / 0.5017 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.3883, allocations: 72.3 kB / 0.5017 GB, free: 12.22 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3883, allocations: 4 kB / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of Templates: time 0.03169/0.42, allocations: 21.04 MB / 0.5223 GB, free: 13.08 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) Environment - environmentSimulation: