Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001549/0.001549, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001809/0.001809, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.353/1.353, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1231/0.1231, allocations: 17.37 MB / 277.1 MB, free: 15.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.HeatingOfAlcohol") translateModel(Chemical.Obsolete.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.00202/0.00202, allocations: 63.91 kB / 412.4 MB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 59.86 MB / 472.3 MB, free: 9.738 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006207/0.1106, allocations: 3.901 MB / 476.2 MB, free: 5.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2016/0.3121, allocations: 7.701 MB / 483.9 MB, free: 43.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004329/0.3126, allocations: 15.09 kB / 483.9 MB, free: 43.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.313, allocations: 167.5 kB / 484.1 MB, free: 43.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3145, allocations: 0.7808 MB / 484.8 MB, free: 43.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.3163, allocations: 1.025 MB / 485.9 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.317, allocations: 0.8876 MB / 486.7 MB, free: 42.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.3173, allocations: 413.6 kB / 487.2 MB, free: 42.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.3177, allocations: 454.6 kB / 487.6 MB, free: 42.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.3181, allocations: 424.8 kB / 488 MB, free: 42.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.3182, allocations: 81.72 kB / 488.1 MB, free: 42.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3197, allocations: 0.8529 MB / 488.9 MB, free: 42.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3198, allocations: 183.7 kB / 489.1 MB, free: 42.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.32, allocations: 349 kB / 489.5 MB, free: 42.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.3218, allocations: 1.832 MB / 491.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3218, allocations: 0 / 491.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3218, allocations: 3.25 kB / 491.3 MB, free: 41.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3218, allocations: 0 / 491.3 MB, free: 41.9 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.001529/0.3233, allocations: 1.097 MB / 492.4 MB, free: 41.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3234, allocations: 9.469 kB / 492.4 MB, free: 41.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005841/0.324, allocations: 158.4 kB / 492.6 MB, free: 41.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.3246, allocations: 402.8 kB / 493 MB, free: 40.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.3247, allocations: 53.44 kB / 493 MB, free: 40.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/0.3247, allocations: 69.94 kB / 493.1 MB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009365/0.3257, allocations: 0.7581 MB / 493.8 MB, free: 40.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3257, allocations: 11.88 kB / 493.8 MB, free: 40.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.3258, allocations: 28.38 kB / 493.9 MB, free: 40.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3258, allocations: 13.03 kB / 493.9 MB, free: 40.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3268, allocations: 0.8653 MB / 494.7 MB, free: 40.35 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.002656/0.3295, allocations: 1.763 MB / 496.5 MB, free: 39.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3307, allocations: 0.8027 MB / 497.3 MB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.331, allocations: 260.3 kB / 497.6 MB, free: 38.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002701/0.3337, allocations: 1.527 MB / 499.1 MB, free: 38.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3337, allocations: 37.72 kB / 499.1 MB, free: 38.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.954e-06/0.3337, allocations: 0 / 499.1 MB, free: 38.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=56): time 0.01366/0.3474, allocations: 2.649 MB / 0.49 GB, free: 37.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3474, allocations: 62.19 kB / 0.4901 GB, free: 37.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3478, allocations: 392.9 kB / 0.4905 GB, free: 37.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.3478, allocations: 37.64 kB / 0.4905 GB, free: 37.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3479, allocations: 375.2 kB / 0.4908 GB, free: 36.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3481, allocations: 210 kB / 0.491 GB, free: 36.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3482, allocations: 143.4 kB / 0.4912 GB, free: 36.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/0.3483, allocations: 367.9 kB / 0.4915 GB, free: 36.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.3486, allocations: 203.5 kB / 0.4917 GB, free: 36.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3489, allocations: 461.6 kB / 0.4922 GB, free: 35.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.3496, allocations: 0.7154 MB / 0.4929 GB, free: 35.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3496, allocations: 0 / 0.4929 GB, free: 35.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003959/0.3536, allocations: 1.136 MB / 0.494 GB, free: 34.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3536, allocations: 14.44 kB / 0.494 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3536, allocations: 9.625 kB / 0.494 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003336/0.3569, allocations: 439 kB / 0.4944 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3574, allocations: 158.7 kB / 0.4946 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.3632, allocations: 4.358 MB / 0.4988 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.3637, allocations: 24.59 kB / 0.4988 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.3638, allocations: 45.2 kB / 0.4989 GB, free: 31.09 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.0002504/0.3641, allocations: 205.6 kB / 0.4991 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3642, allocations: 55.95 kB / 0.4991 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.369, allocations: 1.079 MB / 0.5002 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.369, allocations: 6.531 kB / 0.5002 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.369, allocations: 6.531 kB / 0.5002 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.369, allocations: 3.422 kB / 0.5002 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00524/0.3742, allocations: 1.617 MB / 0.5018 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3742, allocations: 0 / 0.5018 GB, free: 29.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.3745, allocations: 90.03 kB / 0.5019 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/0.3786, allocations: 0.5063 MB / 0.5024 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.3787, allocations: 24.39 kB / 0.5024 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006264/0.3849, allocations: 5.524 MB / 0.5078 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3849, allocations: 5.75 kB / 0.5078 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/0.3898, allocations: 1.395 MB / 0.5092 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.39, allocations: 55.98 kB / 0.5092 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.39, allocations: 18 kB / 0.5092 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.3904, allocations: 10.97 kB / 0.5092 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3905, allocations: 63.84 kB / 0.5093 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.3905, allocations: 26.27 kB / 0.5093 GB, free: 24.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.3908, allocations: 245.5 kB / 0.5096 GB, free: 24.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3908, allocations: 0.5938 kB / 0.5096 GB, free: 24.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001489/0.3923, allocations: 403 kB / 0.5099 GB, free: 23.95 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.0006631/0.393, allocations: 481.8 kB / 0.5104 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.3944, allocations: 0.861 MB / 0.5112 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3944, allocations: 0 / 0.5112 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.3953, allocations: 0.7041 MB / 0.5119 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.396, allocations: 148.4 kB / 0.5121 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.3978, allocations: 1.329 MB / 0.5134 GB, free: 21.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.398, allocations: 295.4 kB / 0.5137 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.3984, allocations: 130.7 kB / 0.5138 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.3986, allocations: 95.52 kB / 0.5139 GB, free: 21.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3986, allocations: 0 / 0.5139 GB, free: 21.82 MB / 446.1 MB Notification: Performance of Templates: time 0.0246/0.4232, allocations: 16.5 MB / 0.53 GB, free: 19.04 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.073676691972651] Failed to read output from testmodel.py, exit status != 0: 0.4310262339422479 0.440438898 0.11644762700000001 Calling exit ...