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.001406/0.001406, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001584/0.001584, allocations: 210 kB / 22.24 MB, free: 4.859 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.1492/0.1492, allocations: 23.99 MB / 336.4 MB, free: 10.84 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_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.002064/0.002064, allocations: 75.89 kB / 471.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 59.88 MB / 0.5187 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005263/0.3693, allocations: 3.911 MB / 0.5225 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.3785, allocations: 7.705 MB / 0.5301 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.3793, allocations: 13.62 kB / 0.5301 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.38, allocations: 163.5 kB / 0.5302 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.3824, allocations: 0.7779 MB / 0.531 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.3855, allocations: 1.028 MB / 0.532 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.387, allocations: 0.8889 MB / 0.5329 GB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.3878, allocations: 407 kB / 0.5333 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.3886, allocations: 462.5 kB / 0.5337 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.3897, allocations: 424.5 kB / 0.5341 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.3899, allocations: 80.62 kB / 0.5342 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.3931, allocations: 0.8565 MB / 0.535 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002596/0.3934, allocations: 182.2 kB / 0.5352 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000816/0.3942, allocations: 342 kB / 0.5355 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005245/0.3994, allocations: 1.842 MB / 0.5373 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3994, allocations: 1.375 kB / 0.5373 GB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3994, allocations: 0 / 0.5373 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.3995, allocations: 0 / 0.5373 GB, free: 14.32 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.003783/0.4033, allocations: 1.089 MB / 0.5384 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4033, allocations: 13.22 kB / 0.5384 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.4036, allocations: 113.2 kB / 0.5385 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008963/0.4045, allocations: 152.2 kB / 0.5387 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.4057, allocations: 405.7 kB / 0.539 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.665e-05/0.4057, allocations: 54.19 kB / 0.5391 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.4059, allocations: 65.12 kB / 0.5392 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.4072, allocations: 0.7618 MB / 0.5399 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4073, allocations: 0 / 0.5399 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.4073, allocations: 26 kB / 0.5399 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.4074, allocations: 17.11 kB / 0.5399 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.409, allocations: 0.8659 MB / 0.5408 GB, free: 12.56 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.004188/0.4132, allocations: 1.87 MB / 0.5426 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.4148, allocations: 0.8034 MB / 0.5434 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.4153, allocations: 255.7 kB / 0.5436 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004055/0.4193, allocations: 1.528 MB / 0.5451 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.4194, allocations: 45.59 kB / 0.5452 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.4194, allocations: 4 kB / 0.5452 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01482/0.4342, allocations: 2.641 MB / 0.5478 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.4342, allocations: 56.88 kB / 0.5478 GB, free: 8.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.4348, allocations: 424.7 kB / 0.5482 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.4349, allocations: 35.98 kB / 0.5482 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.4351, allocations: 374.5 kB / 0.5486 GB, free: 8.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.4353, allocations: 211.4 kB / 0.5488 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.4355, allocations: 140 kB / 0.5489 GB, free: 8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4357, allocations: 365.8 kB / 0.5493 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.4361, allocations: 202.4 kB / 0.5495 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.4367, allocations: 462.8 kB / 0.5499 GB, free: 7.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.4377, allocations: 0.7258 MB / 0.5506 GB, free: 6.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.4377, allocations: 2.156 kB / 0.5506 GB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004463/0.4422, allocations: 1.133 MB / 0.5517 GB, free: 5.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4422, allocations: 8.25 kB / 0.5517 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4422, allocations: 12.19 kB / 0.5518 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/0.4457, allocations: 445 kB / 0.5522 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.4462, allocations: 158.7 kB / 0.5523 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007699/0.4539, allocations: 4.401 MB / 0.5566 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/0.4545, allocations: 25.44 kB / 0.5567 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.4546, allocations: 41.33 kB / 0.5567 GB, free: 1.852 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.0003748/0.455, allocations: 211 kB / 0.5569 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.4551, allocations: 56.72 kB / 0.557 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005232/0.4603, allocations: 1.093 MB / 0.558 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4603, allocations: 4 kB / 0.558 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.4604, allocations: 4 kB / 0.558 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4604, allocations: 7.938 kB / 0.558 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006129/0.4665, allocations: 1.706 MB / 0.5597 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.4665, allocations: 7.984 kB / 0.5597 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.4668, allocations: 91.84 kB / 0.5598 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004337/0.4712, allocations: 0.5022 MB / 0.5603 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.4712, allocations: 20 kB / 0.5603 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008524/0.4798, allocations: 5.581 MB / 0.5658 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4798, allocations: 0 / 0.5658 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.4853, allocations: 1.403 MB / 0.5671 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.4855, allocations: 51.89 kB / 0.5672 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.4856, allocations: 12 kB / 0.5672 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.4859, allocations: 19.94 kB / 0.5672 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.486, allocations: 60.33 kB / 0.5673 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.4861, allocations: 31.98 kB / 0.5673 GB, free: 6.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003524/0.4865, allocations: 267.2 kB / 0.5675 GB, free: 6.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4865, allocations: 0 / 0.5675 GB, free: 6.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001549/0.488, allocations: 407 kB / 0.5679 GB, free: 5.934 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.006641/0.4946, allocations: 2.306 MB / 0.5702 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.4965, allocations: 0.8695 MB / 0.571 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4965, allocations: 0 / 0.571 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.4977, allocations: 0.6983 MB / 0.5717 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.4986, allocations: 138.7 kB / 0.5719 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.5124, allocations: 6.105 MB / 0.5778 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.5127, allocations: 297.6 kB / 0.5781 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004837/0.5132, allocations: 136.7 kB / 0.5782 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.5136, allocations: 278.4 kB / 0.5785 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5136, allocations: 0 / 0.5785 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08755/0.6012, allocations: 23.26 MB / 0.6012 GB, free: 3.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.71, allocations: 7.375 kB / 0.6012 GB, free: 3.637 MB / 446.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.669177702628076] Failed to read output from testmodel.py, exit status != 0: 14.846026254352182 14.87575627 14.470825308 Calling exit ...