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.00159/0.00159, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002359/0.002359, allocations: 165.8 kB / 22.45 MB, free: 5.375 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.493/1.493, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.1515/0.1515, allocations: 17.38 MB / 276.6 MB, free: 15.29 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: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 3.938 kB / 411.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.602e-05/3.828e-05, allocations: 5.656 kB / 411.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.006237/0.006275, allocations: 3.898 MB / 415.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.01761, allocations: 7.701 MB / 423.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006963/0.0183, allocations: 11.94 kB / 423.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006831/0.01899, allocations: 166.6 kB / 423.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.02169, allocations: 0.8183 MB / 424.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.02567, allocations: 1.048 MB / 425.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.02727, allocations: 0.9196 MB / 426.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006198/0.02789, allocations: 416.7 kB / 426.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.02867, allocations: 0.6084 MB / 427.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.02931, allocations: 387.1 kB / 427.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.02944, allocations: 80 kB / 428 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.03196, allocations: 0.8654 MB / 428.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.03217, allocations: 179.4 kB / 429 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.03259, allocations: 295.4 kB / 429.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003973/0.03656, allocations: 1.938 MB / 431.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.03656, allocations: 0 / 431.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.03657, allocations: 0 / 431.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.03658, allocations: 3.938 kB / 431.2 MB, free: 1.055 MB / 350.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.002246/0.03882, allocations: 1.098 MB / 432.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.03886, allocations: 8.031 kB / 432.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007075/0.03957, allocations: 144.4 kB / 432.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.0404, allocations: 409 kB / 432.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.04046, allocations: 54.38 kB / 432.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.04058, allocations: 64.38 kB / 433 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.04195, allocations: 0.7553 MB / 433.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.04197, allocations: 192 / 433.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.04205, allocations: 34.61 kB / 433.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.04206, allocations: 16 kB / 433.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.04355, allocations: 0.8706 MB / 434.7 MB, free: 13.55 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 preOpt removeSimpleEquations (simulation): time 0.003608/0.04716, allocations: 1.754 MB / 436.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.04883, allocations: 0.8147 MB / 437.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.04926, allocations: 259.2 kB / 437.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/0.0529, allocations: 1.528 MB / 439 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.05294, allocations: 38.56 kB / 439.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.05294, allocations: 0 / 439.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.01653/0.06947, allocations: 2.648 MB / 441.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.06953, allocations: 59.84 kB / 441.8 MB, free: 6.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.07014, allocations: 397.6 kB / 442.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.07024, allocations: 33.7 kB / 442.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.07058, allocations: 376.1 kB / 442.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.07082, allocations: 198.3 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.07106, allocations: 150.6 kB / 442.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.07129, allocations: 362.8 kB / 443.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.07172, allocations: 201.9 kB / 443.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/0.07238, allocations: 465.8 kB / 443.9 MB, free: 4.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.07355, allocations: 0.72 MB / 444.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.07356, allocations: 0 / 444.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004967/0.07853, allocations: 1.139 MB / 445.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.07855, allocations: 8 kB / 445.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.07857, allocations: 8 kB / 445.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/0.08239, allocations: 449.6 kB / 446.2 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.08302, allocations: 159.8 kB / 446.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2131/0.2961, allocations: 4.341 MB / 450.7 MB, free: 42.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.2967, allocations: 25.36 kB / 450.7 MB, free: 42.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/0.2968, allocations: 42.47 kB / 450.8 MB, free: 42.64 MB / 366.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.0003718/0.2972, allocations: 209.8 kB / 451 MB, free: 42.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2973, allocations: 53.62 kB / 451 MB, free: 42.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/0.3032, allocations: 1.081 MB / 452.1 MB, free: 42.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3032, allocations: 5.688 kB / 452.1 MB, free: 42.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3032, allocations: 2.984 kB / 452.1 MB, free: 42.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.3032, allocations: 8.891 kB / 452.1 MB, free: 42.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.3096, allocations: 1.614 MB / 453.8 MB, free: 41.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.3097, allocations: 2.656 kB / 453.8 MB, free: 41.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.31, allocations: 94.91 kB / 453.9 MB, free: 41.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004673/0.3147, allocations: 0.5018 MB / 454.4 MB, free: 41.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.3148, allocations: 22.78 kB / 454.4 MB, free: 41.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007313/0.3221, allocations: 5.509 MB / 459.9 MB, free: 36.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3221, allocations: 2.188 kB / 459.9 MB, free: 36.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/0.3279, allocations: 1.397 MB / 461.3 MB, free: 36.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.3281, allocations: 55.36 kB / 461.3 MB, free: 36.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.3282, allocations: 13.92 kB / 461.4 MB, free: 36.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.3285, allocations: 13.62 kB / 461.4 MB, free: 36.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.3288, allocations: 67.75 kB / 461.4 MB, free: 36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.3288, allocations: 25.58 kB / 461.5 MB, free: 35.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.3291, allocations: 249.9 kB / 461.7 MB, free: 35.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 461.7 MB, free: 35.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001538/0.3307, allocations: 401.3 kB / 462.1 MB, free: 35.83 MB / 366.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.001023/0.3317, allocations: 492.2 kB / 462.6 MB, free: 35.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.3334, allocations: 0.8533 MB / 463.4 MB, free: 35.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3334, allocations: 4.188 kB / 463.4 MB, free: 35.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.3346, allocations: 0.7039 MB / 464.1 MB, free: 34.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.3354, allocations: 140 kB / 464.3 MB, free: 34.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3377, allocations: 1.244 MB / 465.5 MB, free: 34.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.338, allocations: 303.8 kB / 465.8 MB, free: 33.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004728/0.3385, allocations: 129.8 kB / 465.9 MB, free: 33.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3387, allocations: 99.3 kB / 466 MB, free: 33.86 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3387, allocations: 0 / 466 MB, free: 33.86 MB / 366.1 MB Notification: Performance of Templates: time 0.02463/0.3633, allocations: 16.47 MB / 482.5 MB, free: 22.97 MB / 366.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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.590106513351202] Failed to read output from testmodel.py, exit status != 0: 0.3726888783276081 0.38183326300000003 0.34300697900000005 Calling exit ...