Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.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/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/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) Ignoring simflag -noemit -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS since it seems broken on HelloWorld Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008955, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004767/0.004767, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006948/0.006948, allocations: 1.311 MB / 292.7 MB, free: 0.8984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 12 kB / 356.9 MB, free: 15.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.198, allocations: 50.71 MB / 407.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD): time 0.02409/0.2222, allocations: 30.24 MB / 437.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.2346, allocations: 9.618 MB / 447.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.2355, allocations: 49.5 kB / 447.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.2366, allocations: 497.3 kB / 448 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.2398, allocations: 1.751 MB / 449.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.2431, allocations: 1.676 MB / 451.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004056/0.2472, allocations: 4.452 MB / 455.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009087/0.2481, allocations: 0.7635 MB / 456.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.2495, allocations: 1.14 MB / 457.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.2508, allocations: 1.097 MB / 458.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.2509, allocations: 64 kB / 459 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2525, allocations: 0.9319 MB / 459.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.2529, allocations: 374.6 kB / 460.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007005/0.2536, allocations: 0.7247 MB / 461 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.2558, allocations: 2.223 MB / 463.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2559, allocations: 7.875 kB / 463.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2559, allocations: 0 / 463.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2559, allocations: 4 kB / 463.2 MB, free: 14.75 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002658/0.2585, allocations: 1.472 MB / 464.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2586, allocations: 8.031 kB / 464.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.2592, allocations: 175.2 kB / 464.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2603, allocations: 0.8153 MB / 465.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.2605, allocations: 171.7 kB / 465.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2606, allocations: 112.1 kB / 466 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.2627, allocations: 1.437 MB / 467.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.2628, allocations: 3.938 kB / 467.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.2629, allocations: 51.98 kB / 467.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.263, allocations: 46 kB / 467.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.2647, allocations: 1.1 MB / 468.6 MB, free: 9.102 MB / 334.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.007848/0.2726, allocations: 7.564 MB / 476.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.274, allocations: 0.8464 MB / 477 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.2747, allocations: 459.7 kB / 477.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003153/0.2778, allocations: 3.059 MB / 480.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.2779, allocations: 55.5 kB / 480.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 6.342e-06/0.2779, allocations: 3.984 kB / 480.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=98): time 0.006372/0.2843, allocations: 3.105 MB / 483.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.2844, allocations: 141.5 kB / 483.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.2854, allocations: 0.9178 MB / 484.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.2855, allocations: 49.7 kB / 484.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.286, allocations: 0.5997 MB / 485.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.2863, allocations: 339.2 kB / 485.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.2865, allocations: 133.6 kB / 485.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2866, allocations: 305.1 kB / 486.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/0.2873, allocations: 443.7 kB / 486.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.2885, allocations: 0.9622 MB / 487.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.2904, allocations: 1.436 MB / 489 MB, free: 3.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.2905, allocations: 8 kB / 489 MB, free: 3.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00297/0.2934, allocations: 1.78 MB / 490.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000411/0.2939, allocations: 0.5677 MB / 491.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.2939, allocations: 16 kB / 491.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.2955, allocations: 0.5853 MB / 492 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.2963, allocations: 283.5 kB / 492.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.2984, allocations: 1.819 MB / 494.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.2991, allocations: 75.86 kB / 494.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.2993, allocations: 79.98 kB / 494.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.2993, allocations: 4 kB / 494.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002683/0.302, allocations: 1.618 MB / 495.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.302, allocations: 16 kB / 495.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.3037, allocations: 0.5956 MB / 496.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000807/0.3045, allocations: 279.5 kB / 496.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.3066, allocations: 1.819 MB / 498.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.3072, allocations: 79.81 kB / 498.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.3074, allocations: 75.98 kB / 498.7 MB, free: 9.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 6 (openTank.inFlow[3],openTank.inFlow[2],openTank.inFlow[1],openTank.regularFlow[3],openTank.regularFlow[2],openTank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,8), (6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000477/0.3078, allocations: 409.2 kB / 499.1 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.308, allocations: 118.6 kB / 499.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.3108, allocations: 1.709 MB / 0.4892 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.3108, allocations: 8 kB / 0.4892 GB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3108, allocations: 0 / 0.4892 GB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3108, allocations: 3.984 kB / 0.4892 GB, free: 6.832 MB / 366.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 postOpt removeSimpleEquations (simulation): time 0.003976/0.3148, allocations: 2.753 MB / 0.4919 GB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3148, allocations: 4.125 kB / 0.4919 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.3159, allocations: 200.2 kB / 0.4921 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/0.3168, allocations: 374.2 kB / 0.4924 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.3169, allocations: 23.98 kB / 0.4924 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.3197, allocations: 3.102 MB / 0.4955 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3197, allocations: 4 kB / 0.4955 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.3226, allocations: 1.858 MB / 0.4973 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/0.323, allocations: 331.3 kB / 0.4976 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.3232, allocations: 23.98 kB / 0.4976 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.3239, allocations: 63.92 kB / 0.4977 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.3241, allocations: 101 kB / 0.4978 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.3242, allocations: 51.97 kB / 0.4978 GB, free: 13.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008249/0.325, allocations: 0.6768 MB / 0.4985 GB, free: 12.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3251, allocations: 0 / 0.4985 GB, free: 12.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001801/0.3269, allocations: 0.7225 MB / 0.4992 GB, free: 12.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (openTank.level,openTank.medium.T) * Number of discrete variables: 6 (openTank.regularFlow[1],openTank.regularFlow[2],openTank.regularFlow[3],openTank.inFlow[1],openTank.inFlow[2],openTank.inFlow[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,6), (3,6), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008651/0.3277, allocations: 472.5 kB / 0.4997 GB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.3315, allocations: 2.018 MB / 0.5016 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3315, allocations: 4.312 kB / 0.5016 GB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.3327, allocations: 0.7108 MB / 0.5023 GB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/0.336, allocations: 0.6586 MB / 0.503 GB, free: 8.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3399, allocations: 2.888 MB / 0.5058 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.3407, allocations: 1.151 MB / 0.5069 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001361/0.3421, allocations: 457 kB / 0.5073 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3423, allocations: 115.4 kB / 0.5075 GB, free: 3.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3423, allocations: 0 / 0.5075 GB, free: 3.633 MB / 382.1 MB Notification: Performance of Templates: time 0.04558/0.3879, allocations: 31.23 MB / 0.538 GB, free: 4.586 MB / 414.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.ThermoHydroMSL.SteadyState_ON_FWD.pipe 2>&1)