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.0007904/0.0007904, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007777/0.0007777, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.864/0.864, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 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.08476/0.08476, allocations: 17.38 MB / 277.3 MB, free: 11.84 MB / 266.7 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 1.423e-06/1.423e-06, allocations: 0 / 412.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.253e-05, allocations: 4.125 kB / 412.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.003527/0.003549, allocations: 3.905 MB / 416.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.009338, allocations: 7.707 MB / 424.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.009605, allocations: 13.59 kB / 424.3 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.009995, allocations: 169.6 kB / 424.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.0113, allocations: 0.8081 MB / 425.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.01283, allocations: 1.053 MB / 426.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.01358, allocations: 0.9158 MB / 427.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.01399, allocations: 420.2 kB / 427.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.01453, allocations: 0.6164 MB / 428.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.01502, allocations: 378.4 kB / 428.7 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01512, allocations: 77.31 kB / 428.7 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.01637, allocations: 0.8674 MB / 429.6 MB, free: 2.832 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.01649, allocations: 182.8 kB / 429.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.01671, allocations: 294.7 kB / 430.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.01861, allocations: 1.939 MB / 432 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.01861, allocations: 4 kB / 432 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01861, allocations: 0 / 432 MB, free: 1.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.01863, allocations: 0 / 432 MB, free: 1.773 MB / 330.7 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.001386/0.02002, allocations: 1.089 MB / 433.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.02006, allocations: 10.16 kB / 433.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.02046, allocations: 148.8 kB / 433.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.02094, allocations: 405.2 kB / 433.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.02097, allocations: 54.2 kB / 433.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.02105, allocations: 80.5 kB / 433.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.02182, allocations: 0.7503 MB / 434.5 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.02184, allocations: 192 / 434.5 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.02188, allocations: 30.28 kB / 434.6 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.02189, allocations: 20.91 kB / 434.6 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.02277, allocations: 0.8672 MB / 435.4 MB, free: 36 kB / 330.7 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.002164/0.02493, allocations: 1.758 MB / 437.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.0259, allocations: 0.8019 MB / 438 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.02617, allocations: 254.8 kB / 438.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.02809, allocations: 1.53 MB / 439.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.02811, allocations: 42.55 kB / 439.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.303e-06/0.02811, allocations: 3.188 kB / 439.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.006935/0.03505, allocations: 2.647 MB / 442.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.03508, allocations: 55.91 kB / 442.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.03535, allocations: 385.7 kB / 442.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.03539, allocations: 41.69 kB / 442.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.03554, allocations: 384 kB / 443.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.03564, allocations: 198.3 kB / 443.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.03577, allocations: 146.6 kB / 443.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.03587, allocations: 358.8 kB / 444 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.03611, allocations: 205.9 kB / 444.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.03645, allocations: 467 kB / 444.7 MB, free: 9.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.03708, allocations: 0.7199 MB / 445.4 MB, free: 8.598 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.03709, allocations: 4 kB / 445.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002152/0.03924, allocations: 1.13 MB / 446.5 MB, free: 7.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.03925, allocations: 8 kB / 446.5 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.03927, allocations: 12.86 kB / 446.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.0408, allocations: 445.8 kB / 447 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.04106, allocations: 163.8 kB / 447.1 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.04509, allocations: 4.355 MB / 451.5 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.04531, allocations: 24 kB / 451.5 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.04535, allocations: 43.98 kB / 451.6 MB, free: 2.203 MB / 346.7 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.0001797/0.04553, allocations: 197.7 kB / 451.8 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.0456, allocations: 55.61 kB / 451.8 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.04806, allocations: 1.088 MB / 452.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.04807, allocations: 8 kB / 452.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.04807, allocations: 3.984 kB / 452.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.04808, allocations: 4 kB / 452.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.05098, allocations: 1.613 MB / 454.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.05099, allocations: 0 / 454.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.05116, allocations: 91.89 kB / 454.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/0.05309, allocations: 0.506 MB / 455.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.05311, allocations: 19.98 kB / 455.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004316/0.05743, allocations: 5.517 MB / 460.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.05743, allocations: 4.031 kB / 460.7 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.06006, allocations: 1.391 MB / 462.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.06011, allocations: 51.7 kB / 462.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.06015, allocations: 12 kB / 462.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.06031, allocations: 19.94 kB / 462.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.06039, allocations: 60.33 kB / 462.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.06042, allocations: 28 kB / 462.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.06058, allocations: 247.3 kB / 462.5 MB, free: 6.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06058, allocations: 3.938 kB / 462.5 MB, free: 6.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000902/0.06149, allocations: 403.1 kB / 462.9 MB, free: 6.438 MB / 362.7 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.000588/0.06207, allocations: 486.2 kB / 463.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009452/0.06302, allocations: 0.8616 MB / 464.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.06302, allocations: 4.062 kB / 464.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.06361, allocations: 0.6982 MB / 464.9 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.06409, allocations: 155.3 kB / 465 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.06547, allocations: 1.278 MB / 466.3 MB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.06567, allocations: 301.6 kB / 466.6 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.06582, allocations: 122.8 kB / 466.7 MB, free: 2.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.06582, allocations: 4 kB / 466.7 MB, free: 2.406 MB / 362.7 MB Notification: Performance of Templates: time 0.01285/0.07867, allocations: 17.84 MB / 484.6 MB, free: 0.6211 MB / 378.7 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.325730730779469] Failed to read output from testmodel.py, exit status != 0: 0.2191395591944456 0.09208269299999994 0.071890492 Calling exit ...