Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 95.2 kB / 16.3 MB, free: 5.996 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.0009702/0.0009705, allocations: 184.1 kB / 17.2 MB, free: 5.914 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.49/1.49, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.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.0004798/0.0004801, allocations: 8 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3021, allocations: 47.59 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003378/0.3056, allocations: 2.294 MB / 330 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3077, allocations: 1.041 MB / 331 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.3079, allocations: 7.312 kB / 331 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.3084, allocations: 151.3 kB / 331.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.3089, allocations: 204.5 kB / 331.4 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.3093, allocations: 118.7 kB / 331.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.3099, allocations: 309.8 kB / 331.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3101, allocations: 82.98 kB / 331.9 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3103, allocations: 153.5 kB / 332 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3106, allocations: 177.2 kB / 332.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.3107, allocations: 17.28 kB / 332.2 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3108, allocations: 37.34 kB / 332.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.3109, allocations: 77.89 kB / 332.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3111, allocations: 93.67 kB / 332.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.3114, allocations: 337.1 kB / 332.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3115, allocations: 0 / 332.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3115, allocations: 0 / 332.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3115, allocations: 5.094 kB / 332.8 MB, free: 13.69 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001077/0.3126, allocations: 0.6192 MB / 333.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3126, allocations: 9.812 kB / 333.4 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.911e-05/0.3127, allocations: 46.7 kB / 333.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.3132, allocations: 316.3 kB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.3133, allocations: 20.66 kB / 333.8 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.3133, allocations: 19.97 kB / 333.8 MB, free: 12.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.3138, allocations: 291.3 kB / 334.1 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3139, allocations: 0 / 334.1 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.3139, allocations: 7.469 kB / 334.1 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3139, allocations: 4.562 kB / 334.1 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.3143, allocations: 150.5 kB / 334.2 MB, free: 12.46 MB / 270.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.001489/0.3158, allocations: 0.8122 MB / 335 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.3163, allocations: 205.2 kB / 335.2 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.3163, allocations: 4.594 kB / 335.2 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.3167, allocations: 133.9 kB / 335.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 3.927e-06/0.3167, allocations: 0 / 335.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009025/0.3176, allocations: 401.7 kB / 335.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/0.3178, allocations: 324.3 kB / 336.1 MB, free: 10.78 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.3183, allocations: 405.7 kB / 336.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.3183, allocations: 37.7 kB / 336.5 MB, free: 10.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.3185, allocations: 204.2 kB / 336.7 MB, free: 10.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3186, allocations: 78.89 kB / 336.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.3186, allocations: 4 kB / 336.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3188, allocations: 346.8 kB / 337.1 MB, free: 9.699 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.319, allocations: 67.97 kB / 337.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.3192, allocations: 175.9 kB / 337.4 MB, free: 9.418 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3194, allocations: 79.95 kB / 337.5 MB, free: 9.34 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3194, allocations: 0 / 337.5 MB, free: 9.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00044/0.3198, allocations: 269.8 kB / 337.7 MB, free: 9.066 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3199, allocations: 8 kB / 337.7 MB, free: 9.059 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3199, allocations: 0 / 337.7 MB, free: 9.059 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.32, allocations: 36.83 kB / 337.8 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3203, allocations: 63.86 kB / 337.8 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.3221, allocations: 1.464 MB / 339.3 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.3224, allocations: 31.88 kB / 339.3 MB, free: 7.316 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3224, allocations: 11.94 kB / 339.3 MB, free: 7.305 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.3227, allocations: 165.8 kB / 339.5 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.3228, allocations: 39.53 kB / 339.5 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.323, allocations: 39.59 kB / 339.6 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.323, allocations: 7.953 kB / 339.6 MB, free: 7.043 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.323, allocations: 0 / 339.6 MB, free: 7.043 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007197/0.3238, allocations: 0.5829 MB / 340.2 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3249, allocations: 0.6849 MB / 340.8 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3249, allocations: 0 / 340.8 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.3251, allocations: 47.92 kB / 340.9 MB, free: 5.562 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.3251, allocations: 3.953 kB / 340.9 MB, free: 5.559 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3251, allocations: 12.3 kB / 340.9 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3251, allocations: 0 / 340.9 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3251, allocations: 0 / 340.9 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.3258, allocations: 402.8 kB / 341.3 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.3259, allocations: 136.6 kB / 341.4 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.326, allocations: 15.94 kB / 341.5 MB, free: 4.969 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3262, allocations: 12 kB / 341.5 MB, free: 4.957 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.3263, allocations: 19.91 kB / 341.5 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3263, allocations: 4 kB / 341.5 MB, free: 4.934 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003555/0.3267, allocations: 299.1 kB / 341.8 MB, free: 4.648 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3267, allocations: 4.062 kB / 341.8 MB, free: 4.645 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.3271, allocations: 87.84 kB / 341.9 MB, free: 4.559 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.3282, allocations: 413.5 kB / 342.3 MB, free: 4.152 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006624/0.3289, allocations: 303.1 kB / 342.6 MB, free: 3.844 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3289, allocations: 3.938 kB / 342.6 MB, free: 3.84 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3291, allocations: 95.81 kB / 342.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.3296, allocations: 81.5 kB / 342.7 MB, free: 3.664 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3313, allocations: 0.9369 MB / 343.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.3318, allocations: 0.8034 MB / 344.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.332, allocations: 38.95 kB / 344.5 MB, free: 1.832 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.3321, allocations: 27.44 kB / 344.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of SimCode: time 4e-07/0.3321, allocations: 0 / 344.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of Templates: time 0.01091/0.343, allocations: 5.246 MB / 349.8 MB, free: 12.55 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) Environment - environmentSimulation: