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.001727/0.001727, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00141/0.00141, allocations: 221.8 kB / 23.03 MB, free: 4.945 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1689/0.1689, allocations: 23.89 MB / 337.1 MB, free: 10.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_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.002012/0.002012, allocations: 71.89 kB / 471.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4395, allocations: 59.86 MB / 0.5193 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005332/0.4448, allocations: 3.918 MB / 0.5231 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009678/0.4545, allocations: 7.699 MB / 0.5306 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.4557, allocations: 9.406 kB / 0.5306 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.4569, allocations: 168 kB / 0.5308 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.4611, allocations: 0.7771 MB / 0.5316 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004799/0.4659, allocations: 1.031 MB / 0.5326 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.4678, allocations: 0.886 MB / 0.5334 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.4685, allocations: 417.1 kB / 0.5338 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.4693, allocations: 454.6 kB / 0.5343 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007866/0.4701, allocations: 483.7 kB / 0.5347 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.4702, allocations: 76.84 kB / 0.5348 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.4737, allocations: 0.8809 MB / 0.5357 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.4739, allocations: 181.3 kB / 0.5358 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.4744, allocations: 345.9 kB / 0.5362 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.479, allocations: 1.835 MB / 0.5379 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.479, allocations: 1.281 kB / 0.5379 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.479, allocations: 3.938 kB / 0.5379 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.479, allocations: 0 / 0.5379 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.002491/0.4815, allocations: 1.094 MB / 0.539 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4816, allocations: 9.625 kB / 0.539 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.096e-05/0.4816, allocations: 22.69 kB / 0.539 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.4818, allocations: 115.4 kB / 0.5392 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007007/0.4825, allocations: 152.3 kB / 0.5393 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.4834, allocations: 398 kB / 0.5397 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.4834, allocations: 61.91 kB / 0.5397 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.4835, allocations: 65.28 kB / 0.5398 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.4851, allocations: 0.7577 MB / 0.5405 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4851, allocations: 0 / 0.5405 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.4852, allocations: 26.66 kB / 0.5406 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.4852, allocations: 15.53 kB / 0.5406 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.4869, allocations: 0.8727 MB / 0.5414 GB, free: 12.53 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.004131/0.491, allocations: 1.863 MB / 0.5433 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.4927, allocations: 0.8183 MB / 0.5441 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/0.4932, allocations: 258.4 kB / 0.5443 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004005/0.4972, allocations: 1.517 MB / 0.5458 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4973, allocations: 41.42 kB / 0.5458 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.096e-06/0.4973, allocations: 0 / 0.5458 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01771/0.515, allocations: 2.661 MB / 0.5484 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.515, allocations: 57.72 kB / 0.5485 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007384/0.5158, allocations: 410.5 kB / 0.5489 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.5159, allocations: 36.11 kB / 0.5489 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.5162, allocations: 374.7 kB / 0.5493 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.5165, allocations: 206.1 kB / 0.5495 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.5168, allocations: 144.5 kB / 0.5496 GB, free: 8.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.517, allocations: 362.7 kB / 0.5499 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.5175, allocations: 211 kB / 0.5501 GB, free: 7.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.5181, allocations: 461.7 kB / 0.5506 GB, free: 7.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.5193, allocations: 0.7219 MB / 0.5513 GB, free: 6.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.5193, allocations: 2.188 kB / 0.5513 GB, free: 6.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005001/0.5243, allocations: 1.129 MB / 0.5524 GB, free: 5.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.5244, allocations: 12.53 kB / 0.5524 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.5244, allocations: 11.91 kB / 0.5524 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/0.528, allocations: 444.6 kB / 0.5528 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.5286, allocations: 166.1 kB / 0.553 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/0.5368, allocations: 4.391 MB / 0.5573 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/0.5376, allocations: 25.34 kB / 0.5573 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.5377, allocations: 40.23 kB / 0.5573 GB, free: 1.906 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.0004074/0.5381, allocations: 220.2 kB / 0.5576 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5383, allocations: 56.25 kB / 0.5576 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005779/0.5441, allocations: 1.08 MB / 0.5587 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5441, allocations: 8 kB / 0.5587 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5441, allocations: 0 / 0.5587 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.5441, allocations: 11.92 kB / 0.5587 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/0.5511, allocations: 1.694 MB / 0.5603 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5511, allocations: 4.219 kB / 0.5603 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5515, allocations: 95.83 kB / 0.5604 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005026/0.5566, allocations: 0.5058 MB / 0.5609 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.5567, allocations: 19.98 kB / 0.5609 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009337/0.566, allocations: 5.585 MB / 0.5664 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.566, allocations: 4.031 kB / 0.5664 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006248/0.5723, allocations: 1.403 MB / 0.5678 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.5725, allocations: 55.66 kB / 0.5678 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.5726, allocations: 12.14 kB / 0.5678 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.573, allocations: 15.94 kB / 0.5679 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.5732, allocations: 68.31 kB / 0.5679 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.5732, allocations: 27.98 kB / 0.5679 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.5736, allocations: 267.2 kB / 0.5682 GB, free: 6.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5736, allocations: 0 / 0.5682 GB, free: 6.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001538/0.5751, allocations: 407.1 kB / 0.5686 GB, free: 6.09 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.007627/0.5827, allocations: 2.302 MB / 0.5708 GB, free: 3.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.5847, allocations: 0.8694 MB / 0.5717 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5847, allocations: 0 / 0.5717 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.586, allocations: 0.6983 MB / 0.5724 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.5869, allocations: 143.7 kB / 0.5725 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.6035, allocations: 6.093 MB / 0.5785 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.604, allocations: 305.5 kB / 0.5787 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005827/0.6045, allocations: 124.8 kB / 0.5789 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.605, allocations: 286.1 kB / 0.5791 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.605, allocations: 0 / 0.5791 GB, free: 10.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06139/0.6664, allocations: 23.19 MB / 0.6018 GB, free: 3.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.09, allocations: 10.78 kB / 0.6018 GB, free: 3.895 MB / 446.1 MB " [Timeout remaining time 644] (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: 19.070708031998947] Failed to read output from testmodel.py, exit status != 0: 16.281013573985547 16.305342624 15.821570664 Calling exit ...