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.001324/0.001324, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001468/0.001468, allocations: 223.4 kB / 23.05 MB, free: 5.074 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.1427/0.1427, allocations: 23.88 MB / 337.1 MB, free: 11.15 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol",fmuType="cs",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.002002/0.002002, allocations: 63.91 kB / 472 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 59.86 MB / 0.5194 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004801/0.3513, allocations: 4.331 MB / 0.5236 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008855/0.3601, allocations: 8.767 MB / 0.5322 GB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.3608, allocations: 13.34 kB / 0.5322 GB, free: 156 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.3614, allocations: 183.2 kB / 0.5324 GB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.364, allocations: 0.7928 MB / 0.5331 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.3673, allocations: 1.031 MB / 0.5341 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.3691, allocations: 0.8862 MB / 0.535 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008288/0.37, allocations: 421 kB / 0.5354 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007927/0.3708, allocations: 453.5 kB / 0.5358 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.3716, allocations: 484.4 kB / 0.5363 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.3717, allocations: 81.5 kB / 0.5364 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003668/0.3754, allocations: 0.9083 MB / 0.5373 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.3757, allocations: 178.6 kB / 0.5374 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.3763, allocations: 412.6 kB / 0.5378 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006221/0.3825, allocations: 1.837 MB / 0.5396 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3825, allocations: 0 / 0.5396 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3825, allocations: 1.375 kB / 0.5396 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.588e-05/0.3826, allocations: 0 / 0.5396 GB, free: 12.59 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.003606/0.3862, allocations: 1.102 MB / 0.5407 GB, free: 11.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3863, allocations: 14.41 kB / 0.5407 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.852e-05/0.3863, allocations: 18.25 kB / 0.5407 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.3865, allocations: 112.3 kB / 0.5408 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.3873, allocations: 148.5 kB / 0.541 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/0.3883, allocations: 405.6 kB / 0.5414 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.225e-05/0.3883, allocations: 50.62 kB / 0.5414 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.3885, allocations: 68.38 kB / 0.5415 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.39, allocations: 0.7657 MB / 0.5422 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.39, allocations: 0 / 0.5422 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.3901, allocations: 25.44 kB / 0.5423 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3901, allocations: 16.59 kB / 0.5423 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.3918, allocations: 0.8713 MB / 0.5431 GB, free: 10.82 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.004381/0.3962, allocations: 2.315 MB / 0.5454 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.3979, allocations: 0.8188 MB / 0.5462 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.3983, allocations: 258.5 kB / 0.5464 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003994/0.4023, allocations: 1.593 MB / 0.548 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4024, allocations: 45.33 kB / 0.548 GB, free: 8.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 5.39e-06/0.4024, allocations: 3.984 kB / 0.548 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01544/0.4178, allocations: 2.652 MB / 0.5506 GB, free: 6.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.4179, allocations: 62.5 kB / 0.5507 GB, free: 6.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.4184, allocations: 417.4 kB / 0.5511 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.4185, allocations: 36.11 kB / 0.5511 GB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.4188, allocations: 374.5 kB / 0.5515 GB, free: 6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.419, allocations: 210.2 kB / 0.5517 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.4192, allocations: 140.2 kB / 0.5518 GB, free: 5.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4194, allocations: 362 kB / 0.5521 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.4198, allocations: 202.5 kB / 0.5523 GB, free: 5.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.4203, allocations: 467.6 kB / 0.5528 GB, free: 4.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4214, allocations: 0.7222 MB / 0.5535 GB, free: 4.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.4214, allocations: 3.594 kB / 0.5535 GB, free: 4.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004609/0.426, allocations: 1.132 MB / 0.5546 GB, free: 3.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.426, allocations: 9.625 kB / 0.5546 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4261, allocations: 8 kB / 0.5546 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003549/0.4296, allocations: 445.2 kB / 0.555 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.4302, allocations: 158.1 kB / 0.5552 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00813/0.4383, allocations: 4.441 MB / 0.5595 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.4392, allocations: 25.03 kB / 0.5596 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.4393, allocations: 44.23 kB / 0.5596 GB, free: 15.52 MB / 414.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.0005264/0.4398, allocations: 211.9 kB / 0.5598 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.44, allocations: 59.78 kB / 0.5599 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005304/0.4453, allocations: 1.079 MB / 0.5609 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4454, allocations: 4.094 kB / 0.5609 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4454, allocations: 7.938 kB / 0.5609 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4454, allocations: 7.922 kB / 0.5609 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0064/0.4518, allocations: 1.787 MB / 0.5627 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/0.4518, allocations: 0 / 0.5627 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.4522, allocations: 91.84 kB / 0.5628 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004456/0.4566, allocations: 0.506 MB / 0.5633 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/0.4567, allocations: 20 kB / 0.5633 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008786/0.4655, allocations: 5.64 MB / 0.5688 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4655, allocations: 8.094 kB / 0.5688 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005848/0.4713, allocations: 1.407 MB / 0.5702 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.4716, allocations: 47.75 kB / 0.5702 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.4717, allocations: 24.03 kB / 0.5702 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.4722, allocations: 15.94 kB / 0.5702 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.4724, allocations: 60.33 kB / 0.5703 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.4724, allocations: 24 kB / 0.5703 GB, free: 4.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.4728, allocations: 275.1 kB / 0.5706 GB, free: 4.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4728, allocations: 0 / 0.5706 GB, free: 4.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001843/0.4747, allocations: 403.1 kB / 0.571 GB, free: 3.816 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.007507/0.4822, allocations: 2.302 MB / 0.5732 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.4842, allocations: 0.8616 MB / 0.5741 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/0.4842, allocations: 4.062 kB / 0.5741 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.4855, allocations: 0.7061 MB / 0.5748 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.4867, allocations: 155 kB / 0.5749 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.5024, allocations: 6.096 MB / 0.5809 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/0.5032, allocations: 0.8913 MB / 0.5817 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005844/0.5038, allocations: 128.8 kB / 0.5819 GB, free: 8.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.5043, allocations: 282.1 kB / 0.5821 GB, free: 7.906 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5043, allocations: 0 / 0.5821 GB, free: 7.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08086/0.5852, allocations: 22.67 MB / 0.6043 GB, free: 1.465 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/15.93, allocations: 0 / 0.6043 GB, free: 1.465 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.82027485209983] Failed to read output from testmodel.py, exit status != 0: 16.12748935993295 16.156019839 15.768160618 Calling exit ...