Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 84.91 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 159.9 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1254/0.1254, allocations: 17.44 MB / 277.2 MB, free: 15.19 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.91 kB / 412.6 MB, free: 5.582 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 59.87 MB / 472.4 MB, free: 9.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005438/0.1103, allocations: 3.913 MB / 476.4 MB, free: 5.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.211/0.3213, allocations: 7.697 MB / 484 MB, free: 43.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.3218, allocations: 12.56 kB / 484.1 MB, free: 43.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.3223, allocations: 167.8 kB / 484.2 MB, free: 43.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.3238, allocations: 0.7861 MB / 485 MB, free: 43.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.3256, allocations: 1.021 MB / 486 MB, free: 42.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.3263, allocations: 0.8887 MB / 486.9 MB, free: 42.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.3267, allocations: 409.8 kB / 487.3 MB, free: 42.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.327, allocations: 460 kB / 487.8 MB, free: 42.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/0.3274, allocations: 427.1 kB / 488.2 MB, free: 42.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.3275, allocations: 75.56 kB / 488.3 MB, free: 42.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.329, allocations: 0.8598 MB / 489.1 MB, free: 42.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.3291, allocations: 185.6 kB / 489.3 MB, free: 42.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.3294, allocations: 340.8 kB / 489.6 MB, free: 42.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.3311, allocations: 1.84 MB / 491.5 MB, free: 41.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3311, allocations: 0 / 491.5 MB, free: 41.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3311, allocations: 0 / 491.5 MB, free: 41.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.3311, allocations: 0 / 491.5 MB, free: 41.82 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001506/0.3326, allocations: 1.093 MB / 492.6 MB, free: 41.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3327, allocations: 9.969 kB / 492.6 MB, free: 41.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005453/0.3332, allocations: 154.4 kB / 492.7 MB, free: 41.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.3338, allocations: 409.8 kB / 493.1 MB, free: 40.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3338, allocations: 51.53 kB / 493.2 MB, free: 40.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.3339, allocations: 66.56 kB / 493.2 MB, free: 40.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.3348, allocations: 0.7534 MB / 494 MB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.3348, allocations: 3.938 kB / 494 MB, free: 40.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.3349, allocations: 28.78 kB / 494 MB, free: 40.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3349, allocations: 15.75 kB / 494 MB, free: 40.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.3359, allocations: 0.8685 MB / 494.9 MB, free: 40.26 MB / 446.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.002556/0.3385, allocations: 1.765 MB / 496.7 MB, free: 39.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3397, allocations: 0.8062 MB / 497.5 MB, free: 39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.34, allocations: 252.5 kB / 497.7 MB, free: 38.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.3427, allocations: 1.529 MB / 499.3 MB, free: 38.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3428, allocations: 41.69 kB / 499.3 MB, free: 38.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.3428, allocations: 0 / 499.3 MB, free: 38.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=56): time 0.01368/0.3564, allocations: 2.648 MB / 0.4902 GB, free: 37.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3565, allocations: 58.28 kB / 0.4902 GB, free: 37.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.3569, allocations: 395.9 kB / 0.4906 GB, free: 36.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.3569, allocations: 36.55 kB / 0.4907 GB, free: 36.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3571, allocations: 375 kB / 0.491 GB, free: 36.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3572, allocations: 206.7 kB / 0.4912 GB, free: 36.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3574, allocations: 148.9 kB / 0.4914 GB, free: 36.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.3574, allocations: 368.7 kB / 0.4917 GB, free: 36.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.3577, allocations: 203 kB / 0.4919 GB, free: 35.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.3581, allocations: 461.7 kB / 0.4923 GB, free: 35.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.3588, allocations: 0.7221 MB / 0.493 GB, free: 35.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3588, allocations: 0 / 0.493 GB, free: 35.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004057/0.3629, allocations: 1.133 MB / 0.4941 GB, free: 34.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3629, allocations: 6.562 kB / 0.4942 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3629, allocations: 9.75 kB / 0.4942 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/0.3662, allocations: 439.3 kB / 0.4946 GB, free: 34.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.3666, allocations: 167.6 kB / 0.4947 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.3725, allocations: 4.348 MB / 0.499 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.373, allocations: 29.06 kB / 0.499 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.373, allocations: 43.98 kB / 0.4991 GB, free: 30.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 79 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.3733, allocations: 209.6 kB / 0.4993 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.3734, allocations: 49.2 kB / 0.4993 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004697/0.3781, allocations: 1.08 MB / 0.5004 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3781, allocations: 10.22 kB / 0.5004 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3781, allocations: 3.094 kB / 0.5004 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.3781, allocations: 3.469 kB / 0.5004 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.3835, allocations: 1.618 MB / 0.502 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3835, allocations: 3.656 kB / 0.502 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3838, allocations: 93.67 kB / 0.502 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004226/0.388, allocations: 0.5091 MB / 0.5025 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.388, allocations: 20.78 kB / 0.5026 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00634/0.3944, allocations: 5.519 MB / 0.508 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3944, allocations: 6.5 kB / 0.508 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004974/0.3994, allocations: 1.399 MB / 0.5093 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3995, allocations: 48.77 kB / 0.5094 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.3995, allocations: 21.77 kB / 0.5094 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.3999, allocations: 18.59 kB / 0.5094 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4, allocations: 56.66 kB / 0.5095 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.4001, allocations: 25.67 kB / 0.5095 GB, free: 24.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.4004, allocations: 246.4 kB / 0.5097 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4004, allocations: 4 kB / 0.5097 GB, free: 23.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001355/0.4017, allocations: 402.2 kB / 0.5101 GB, free: 23.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006296/0.4023, allocations: 469.9 kB / 0.5106 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.4037, allocations: 0.8625 MB / 0.5114 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4037, allocations: 0 / 0.5114 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008965/0.4045, allocations: 0.7033 MB / 0.5121 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.4053, allocations: 147.1 kB / 0.5122 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.4071, allocations: 1.337 MB / 0.5135 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.4073, allocations: 299.5 kB / 0.5138 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.4077, allocations: 126.6 kB / 0.5139 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.4079, allocations: 96.12 kB / 0.514 GB, free: 21.73 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4079, allocations: 0 / 0.514 GB, free: 21.73 MB / 446.1 MB Notification: Performance of Templates: time 0.02498/0.4329, allocations: 16.5 MB / 0.5302 GB, free: 18.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.152064619935118] Failed to read output from testmodel.py, exit status != 0: 0.44087606703396887 0.449900632 0.11661634300000001 Calling exit ...