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.001301/0.001301, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001681/0.001681, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.793 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.1353/0.1353, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.002118/0.002118, allocations: 67.91 kB / 471.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4123, allocations: 59.89 MB / 0.5187 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005817/0.4181, allocations: 3.913 MB / 0.5225 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.4283, allocations: 7.709 MB / 0.5301 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007657/0.429, allocations: 9 kB / 0.5301 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006323/0.4297, allocations: 168.1 kB / 0.5302 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.4321, allocations: 0.7811 MB / 0.531 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.4351, allocations: 1.026 MB / 0.532 GB, free: 440 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.4367, allocations: 0.8871 MB / 0.5329 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006925/0.4374, allocations: 415.6 kB / 0.5333 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/0.4381, allocations: 453.7 kB / 0.5337 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000807/0.4389, allocations: 428.7 kB / 0.5341 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.439, allocations: 80.89 kB / 0.5342 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.4426, allocations: 0.8516 MB / 0.535 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.4429, allocations: 180 kB / 0.5352 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009627/0.4438, allocations: 347.8 kB / 0.5355 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.4502, allocations: 1.831 MB / 0.5373 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4502, allocations: 5 kB / 0.5373 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4502, allocations: 4 kB / 0.5373 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.918e-05/0.4502, allocations: 3.938 kB / 0.5373 GB, free: 14.23 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.003905/0.4541, allocations: 1.093 MB / 0.5384 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.4542, allocations: 9.984 kB / 0.5384 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003048/0.4545, allocations: 108.1 kB / 0.5385 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.4554, allocations: 153 kB / 0.5386 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.4566, allocations: 409.6 kB / 0.539 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.4567, allocations: 50.03 kB / 0.5391 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.4569, allocations: 70.17 kB / 0.5392 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.4585, allocations: 0.7568 MB / 0.5399 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4585, allocations: 0 / 0.5399 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.4586, allocations: 30.5 kB / 0.5399 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4586, allocations: 15.53 kB / 0.5399 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.4603, allocations: 0.8667 MB / 0.5408 GB, free: 12.47 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.00438/0.4647, allocations: 1.863 MB / 0.5426 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.4663, allocations: 0.802 MB / 0.5434 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.4668, allocations: 258.4 kB / 0.5436 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004083/0.4709, allocations: 1.533 MB / 0.5451 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.4709, allocations: 42.22 kB / 0.5452 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.4709, allocations: 0 / 0.5452 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01498/0.4859, allocations: 2.648 MB / 0.5478 GB, free: 8.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.4859, allocations: 57.62 kB / 0.5478 GB, free: 8.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.4865, allocations: 428.5 kB / 0.5482 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.93e-05/0.4866, allocations: 40.02 kB / 0.5483 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.4869, allocations: 370.9 kB / 0.5486 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.4871, allocations: 206.4 kB / 0.5488 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.4874, allocations: 143.8 kB / 0.5489 GB, free: 7.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4875, allocations: 362.6 kB / 0.5493 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4879, allocations: 203.7 kB / 0.5495 GB, free: 7.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.4885, allocations: 465.8 kB / 0.5499 GB, free: 7.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4896, allocations: 0.717 MB / 0.5506 GB, free: 6.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4896, allocations: 2.906 kB / 0.5506 GB, free: 6.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004564/0.4942, allocations: 1.132 MB / 0.5517 GB, free: 5.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4942, allocations: 11.41 kB / 0.5517 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4942, allocations: 7.188 kB / 0.5518 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.4977, allocations: 451.4 kB / 0.5522 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.4983, allocations: 151.6 kB / 0.5523 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008025/0.5064, allocations: 4.402 MB / 0.5566 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.507, allocations: 26.16 kB / 0.5567 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.5071, allocations: 44.17 kB / 0.5567 GB, free: 1.816 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.0004018/0.5075, allocations: 212.6 kB / 0.5569 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5077, allocations: 56.44 kB / 0.557 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/0.5129, allocations: 1.093 MB / 0.558 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.513, allocations: 8 kB / 0.558 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.513, allocations: 4 kB / 0.558 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.513, allocations: 3.938 kB / 0.558 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/0.5191, allocations: 1.694 MB / 0.5597 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5191, allocations: 7.984 kB / 0.5597 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.5195, allocations: 87.91 kB / 0.5598 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004357/0.5238, allocations: 0.5098 MB / 0.5603 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/0.5239, allocations: 24 kB / 0.5603 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008749/0.5327, allocations: 5.578 MB / 0.5657 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5327, allocations: 0 / 0.5657 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/0.5383, allocations: 1.403 MB / 0.5671 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.5385, allocations: 55.64 kB / 0.5672 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-05/0.5386, allocations: 12.14 kB / 0.5672 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.5389, allocations: 16 kB / 0.5672 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.5391, allocations: 76.25 kB / 0.5673 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.5391, allocations: 23.98 kB / 0.5673 GB, free: 6.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003437/0.5395, allocations: 267.2 kB / 0.5675 GB, free: 6.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5395, allocations: 0 / 0.5675 GB, free: 6.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001623/0.5411, allocations: 403.2 kB / 0.5679 GB, free: 6.004 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.006947/0.5481, allocations: 2.31 MB / 0.5702 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.5499, allocations: 0.8695 MB / 0.571 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5499, allocations: 0 / 0.571 GB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.5512, allocations: 0.6983 MB / 0.5717 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.5521, allocations: 147.9 kB / 0.5719 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.5665, allocations: 6.105 MB / 0.5778 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.5669, allocations: 301.6 kB / 0.5781 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.5674, allocations: 132.7 kB / 0.5782 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.5678, allocations: 278.3 kB / 0.5785 GB, free: 10.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5678, allocations: 0 / 0.5785 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06574/0.6335, allocations: 23.25 MB / 0.6012 GB, free: 3.711 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.41, allocations: 7.984 kB / 0.6012 GB, free: 3.703 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 & /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 os._exit(0), Time elapsed: 17.21338704880327] Failed to read output from testmodel.py, exit status != 0: 14.544491474982351 14.560770547 14.107293348 Calling exit ...