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.001383/0.001383, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001456/0.001456, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.14/0.14, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.002048/0.002048, allocations: 67.89 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3736, allocations: 59.81 MB / 0.5135 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005436/0.3791, allocations: 4.306 MB / 0.5177 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.3899, allocations: 8.75 MB / 0.5262 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009773/0.3908, allocations: 13.66 kB / 0.5262 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008003/0.3916, allocations: 178.7 kB / 0.5264 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.3947, allocations: 0.7919 MB / 0.5272 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.3988, allocations: 1.012 MB / 0.5281 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.4007, allocations: 0.891 MB / 0.529 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007035/0.4014, allocations: 420.6 kB / 0.5294 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.402, allocations: 453.8 kB / 0.5299 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.4028, allocations: 480.4 kB / 0.5303 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.4029, allocations: 80.72 kB / 0.5304 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004145/0.4071, allocations: 0.9045 MB / 0.5313 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.4073, allocations: 183.7 kB / 0.5314 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.4079, allocations: 408 kB / 0.5318 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.4125, allocations: 1.84 MB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4125, allocations: 1.828 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4125, allocations: 4 kB / 0.5336 GB, free: 12.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.4125, allocations: 0 / 0.5336 GB, free: 12.04 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.002518/0.415, allocations: 1.182 MB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4151, allocations: 10 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.4152, allocations: 110.2 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.416, allocations: 150.7 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008886/0.4169, allocations: 468 kB / 0.5355 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.4169, allocations: 49.34 kB / 0.5355 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.4171, allocations: 69.42 kB / 0.5356 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.4185, allocations: 0.7604 MB / 0.5364 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4186, allocations: 2.031 kB / 0.5364 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.4186, allocations: 25.19 kB / 0.5364 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.4187, allocations: 16.91 kB / 0.5364 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.4203, allocations: 0.8788 MB / 0.5373 GB, free: 10.11 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.004426/0.4248, allocations: 2.341 MB / 0.5395 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.4266, allocations: 0.9743 MB / 0.5405 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.4271, allocations: 255.2 kB / 0.5407 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004818/0.4319, allocations: 2.855 MB / 0.5435 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.432, allocations: 45.3 kB / 0.5436 GB, free: 5.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.432, allocations: 0 / 0.5436 GB, free: 5.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01633/0.4483, allocations: 2.81 MB / 0.5463 GB, free: 4.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.4484, allocations: 62.23 kB / 0.5464 GB, free: 4.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/0.449, allocations: 410.6 kB / 0.5468 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.4491, allocations: 36.27 kB / 0.5468 GB, free: 3.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.4494, allocations: 373.1 kB / 0.5472 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.4496, allocations: 207.3 kB / 0.5473 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.4499, allocations: 147.2 kB / 0.5475 GB, free: 3.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4501, allocations: 362.9 kB / 0.5478 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.4505, allocations: 209.7 kB / 0.548 GB, free: 2.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.4511, allocations: 464.4 kB / 0.5485 GB, free: 2.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.4522, allocations: 0.7111 MB / 0.5492 GB, free: 1.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/0.4522, allocations: 6.406 kB / 0.5492 GB, free: 1.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004845/0.4571, allocations: 1.135 MB / 0.5503 GB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.4571, allocations: 15.5 kB / 0.5503 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.4571, allocations: 8.531 kB / 0.5503 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.4609, allocations: 444.7 kB / 0.5507 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.4614, allocations: 154.6 kB / 0.5509 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008908/0.4704, allocations: 4.646 MB / 0.5554 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.4711, allocations: 29.09 kB / 0.5554 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.4712, allocations: 40.39 kB / 0.5555 GB, free: 12.86 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.000463/0.4717, allocations: 207.5 kB / 0.5557 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.4719, allocations: 56.19 kB / 0.5557 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/0.4777, allocations: 1.093 MB / 0.5568 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.4777, allocations: 10 kB / 0.5568 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4777, allocations: 1.5 kB / 0.5568 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.4778, allocations: 9.297 kB / 0.5568 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006884/0.4846, allocations: 1.799 MB / 0.5586 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.4847, allocations: 2.781 kB / 0.5586 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.4851, allocations: 91.06 kB / 0.5587 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004815/0.4899, allocations: 0.504 MB / 0.5592 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.49, allocations: 21.62 kB / 0.5592 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009156/0.4991, allocations: 5.96 MB / 0.565 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.832e-05/0.4992, allocations: 7.938 kB / 0.565 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.5051, allocations: 1.405 MB / 0.5664 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.5054, allocations: 132.8 kB / 0.5665 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.5055, allocations: 12 kB / 0.5665 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.5059, allocations: 12 kB / 0.5665 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.5061, allocations: 64.42 kB / 0.5666 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.5062, allocations: 27.98 kB / 0.5666 GB, free: 2.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.5065, allocations: 275.1 kB / 0.5669 GB, free: 2.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5065, allocations: 0 / 0.5669 GB, free: 2.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001723/0.5082, allocations: 395.1 kB / 0.5673 GB, free: 2.238 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.007567/0.5158, allocations: 2.312 MB / 0.5695 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.5178, allocations: 0.8618 MB / 0.5704 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.5179, allocations: 4 kB / 0.5704 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.5192, allocations: 0.7103 MB / 0.5711 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.5203, allocations: 137.2 kB / 0.5712 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.5359, allocations: 6.094 MB / 0.5771 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.5366, allocations: 0.8952 MB / 0.578 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005168/0.5371, allocations: 132.4 kB / 0.5781 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.5376, allocations: 282.6 kB / 0.5784 GB, free: 6.309 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5376, allocations: 0 / 0.5784 GB, free: 6.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06677/0.6043, allocations: 21.94 MB / 0.5998 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.19, allocations: 10.48 kB / 0.5998 GB, free: 0.5664 MB / 446.1 MB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 18.08102806797251] Failed to read output from testmodel.py, exit status != 0: 15.294569574994966 15.316608638 14.899544445 Calling exit ...