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.001351/0.001351, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001723/0.001723, allocations: 213.3 kB / 22.25 MB, free: 5.258 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.1559/0.1559, allocations: 23.89 MB / 336.3 MB, free: 10.94 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [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.002941/0.002941, allocations: 67.89 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3836, allocations: 59.86 MB / 0.5185 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005431/0.389, allocations: 3.909 MB / 0.5223 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009717/0.3988, allocations: 7.71 MB / 0.5299 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/0.3996, allocations: 13.44 kB / 0.5299 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.4004, allocations: 167.5 kB / 0.53 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.4031, allocations: 0.7852 MB / 0.5308 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.4063, allocations: 1.023 MB / 0.5318 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.408, allocations: 0.8818 MB / 0.5327 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.4087, allocations: 423.8 kB / 0.5331 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006653/0.4093, allocations: 454.7 kB / 0.5335 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.4102, allocations: 488 kB / 0.534 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.4103, allocations: 76.44 kB / 0.534 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.4136, allocations: 0.873 MB / 0.5349 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.4138, allocations: 183.4 kB / 0.5351 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.4144, allocations: 343.8 kB / 0.5354 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.4198, allocations: 1.835 MB / 0.5372 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.4199, allocations: 4 kB / 0.5372 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4199, allocations: 1.094 kB / 0.5372 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.4199, allocations: 0 / 0.5372 GB, free: 14.29 MB / 398.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.002739/0.4226, allocations: 1.097 MB / 0.5383 GB, free: 13.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4227, allocations: 9.625 kB / 0.5383 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.4228, allocations: 111.5 kB / 0.5384 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007456/0.4236, allocations: 152.7 kB / 0.5385 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009737/0.4246, allocations: 410.7 kB / 0.5389 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.4246, allocations: 49.09 kB / 0.539 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.4247, allocations: 70.34 kB / 0.539 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4263, allocations: 0.7612 MB / 0.5398 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4263, allocations: 7.984 kB / 0.5398 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.4264, allocations: 26.25 kB / 0.5398 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.4264, allocations: 16.34 kB / 0.5398 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.4281, allocations: 0.8618 MB / 0.5407 GB, free: 12.52 MB / 398.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.004495/0.4326, allocations: 1.862 MB / 0.5425 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.4345, allocations: 0.8073 MB / 0.5433 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.435, allocations: 255.4 kB / 0.5435 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004529/0.4395, allocations: 1.526 MB / 0.545 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4396, allocations: 37.75 kB / 0.545 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.4396, allocations: 0 / 0.545 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01838/0.4579, allocations: 2.652 MB / 0.5476 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.458, allocations: 66.09 kB / 0.5477 GB, free: 8.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.4586, allocations: 428 kB / 0.5481 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.4587, allocations: 35.95 kB / 0.5481 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.459, allocations: 374.8 kB / 0.5485 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.4592, allocations: 206.7 kB / 0.5487 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.4595, allocations: 143.8 kB / 0.5488 GB, free: 8.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.4596, allocations: 363.8 kB / 0.5492 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.46, allocations: 201.8 kB / 0.5494 GB, free: 7.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.4606, allocations: 467 kB / 0.5498 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.4617, allocations: 0.7172 MB / 0.5505 GB, free: 6.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.4617, allocations: 2.25 kB / 0.5505 GB, free: 6.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005284/0.467, allocations: 1.134 MB / 0.5516 GB, free: 5.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.467, allocations: 13.22 kB / 0.5516 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.467, allocations: 7.75 kB / 0.5516 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/0.4713, allocations: 447.8 kB / 0.5521 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.4719, allocations: 159.5 kB / 0.5522 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008655/0.4805, allocations: 4.401 MB / 0.5565 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.4814, allocations: 24.91 kB / 0.5565 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/0.4815, allocations: 45.39 kB / 0.5566 GB, free: 1.879 MB / 398.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.0004634/0.482, allocations: 206.9 kB / 0.5568 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.4821, allocations: 55.58 kB / 0.5568 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006188/0.4883, allocations: 1.092 MB / 0.5579 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.4883, allocations: 8 kB / 0.5579 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.4884, allocations: 3.984 kB / 0.5579 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4884, allocations: 3.938 kB / 0.5579 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/0.4956, allocations: 1.697 MB / 0.5596 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4956, allocations: 0 / 0.5596 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.496, allocations: 91.89 kB / 0.5597 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005422/0.5014, allocations: 0.5099 MB / 0.5602 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.5015, allocations: 20 kB / 0.5602 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009247/0.5108, allocations: 5.578 MB / 0.5656 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/0.5108, allocations: 4.031 kB / 0.5656 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.5173, allocations: 1.407 MB / 0.567 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.5175, allocations: 59.77 kB / 0.5671 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.5176, allocations: 19.94 kB / 0.5671 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.518, allocations: 12 kB / 0.5671 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.5182, allocations: 68.27 kB / 0.5672 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.5182, allocations: 23.98 kB / 0.5672 GB, free: 6.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003352/0.5185, allocations: 267.2 kB / 0.5674 GB, free: 6.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5185, allocations: 0 / 0.5674 GB, free: 6.438 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001687/0.5202, allocations: 411 kB / 0.5678 GB, free: 6.035 MB / 414.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.007741/0.528, allocations: 2.287 MB / 0.5701 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.5299, allocations: 0.881 MB / 0.5709 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5299, allocations: 0 / 0.5709 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.5312, allocations: 0.6944 MB / 0.5716 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.5322, allocations: 150 kB / 0.5717 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.5482, allocations: 6.093 MB / 0.5777 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.5486, allocations: 301.6 kB / 0.578 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005261/0.5491, allocations: 132.5 kB / 0.5781 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5495, allocations: 278.3 kB / 0.5784 GB, free: 10.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5495, allocations: 0 / 0.5784 GB, free: 10.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06762/0.6171, allocations: 23.5 MB / 0.6013 GB, free: 3.512 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.29, allocations: 3.938 kB / 0.6013 GB, free: 3.508 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.202731355006108] Failed to read output from testmodel.py, exit status != 0: 14.43147650398896 14.45947877 14.03401803 Calling exit ...