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.001851/0.001851, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002201/0.002201, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.593/1.593, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.1545/0.1545, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002053/0.002053, allocations: 71.89 kB / 466 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4869, allocations: 59.81 MB / 0.5135 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005922/0.4929, allocations: 4.301 MB / 0.5177 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.5029, allocations: 8.754 MB / 0.5262 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008329/0.5037, allocations: 13.53 kB / 0.5262 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.5044, allocations: 176.9 kB / 0.5264 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.5074, allocations: 0.7914 MB / 0.5272 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.5112, allocations: 1.014 MB / 0.5281 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003051/0.5142, allocations: 0.8861 MB / 0.529 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.5155, allocations: 421.8 kB / 0.5294 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5166, allocations: 456.9 kB / 0.5298 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.5176, allocations: 485 kB / 0.5303 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.5178, allocations: 76.5 kB / 0.5304 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004901/0.5227, allocations: 0.9094 MB / 0.5313 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003447/0.523, allocations: 177.5 kB / 0.5314 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007356/0.5237, allocations: 413 kB / 0.5318 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.5295, allocations: 1.842 MB / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5295, allocations: 0 / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5295, allocations: 0 / 0.5336 GB, free: 12.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.5295, allocations: 0 / 0.5336 GB, free: 12.11 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.002651/0.5322, allocations: 1.175 MB / 0.5348 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5322, allocations: 14 kB / 0.5348 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.5324, allocations: 108.4 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.5332, allocations: 152.4 kB / 0.535 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/0.5342, allocations: 472.4 kB / 0.5355 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.947e-05/0.5342, allocations: 48.81 kB / 0.5355 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.5344, allocations: 68.53 kB / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.5361, allocations: 0.7538 MB / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5361, allocations: 0 / 0.5363 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.5362, allocations: 29.72 kB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.5362, allocations: 19.97 kB / 0.5364 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.538, allocations: 0.8721 MB / 0.5372 GB, free: 10.18 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.004706/0.5427, allocations: 2.351 MB / 0.5395 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.5447, allocations: 0.9794 MB / 0.5405 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.5452, allocations: 248.2 kB / 0.5407 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005186/0.5504, allocations: 2.855 MB / 0.5435 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.5504, allocations: 44.47 kB / 0.5436 GB, free: 5.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.5504, allocations: 0 / 0.5436 GB, free: 5.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.01631/0.5667, allocations: 2.808 MB / 0.5463 GB, free: 4.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.5668, allocations: 61 kB / 0.5464 GB, free: 4.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.5675, allocations: 411 kB / 0.5468 GB, free: 4.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.5676, allocations: 36.3 kB / 0.5468 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.568, allocations: 373.6 kB / 0.5471 GB, free: 3.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.5683, allocations: 210.2 kB / 0.5473 GB, free: 3.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.5685, allocations: 140.3 kB / 0.5475 GB, free: 3.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.5688, allocations: 362.5 kB / 0.5478 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.5692, allocations: 210.1 kB / 0.548 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.5699, allocations: 464.1 kB / 0.5485 GB, free: 2.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.571, allocations: 0.7189 MB / 0.5492 GB, free: 1.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.571, allocations: 2.5 kB / 0.5492 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004994/0.576, allocations: 1.135 MB / 0.5503 GB, free: 1.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.576, allocations: 8.75 kB / 0.5503 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.576, allocations: 8.156 kB / 0.5503 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/0.5797, allocations: 444.6 kB / 0.5507 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.5803, allocations: 162.5 kB / 0.5509 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008399/0.5887, allocations: 4.642 MB / 0.5554 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.5895, allocations: 26.19 kB / 0.5554 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.5896, allocations: 47.23 kB / 0.5555 GB, free: 12.93 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.0004079/0.59, allocations: 211.3 kB / 0.5557 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5901, allocations: 60.45 kB / 0.5557 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/0.5956, allocations: 1.086 MB / 0.5568 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.5956, allocations: 9.438 kB / 0.5568 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5956, allocations: 1.375 kB / 0.5568 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.5956, allocations: 13.3 kB / 0.5568 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006508/0.6021, allocations: 1.796 MB / 0.5586 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6021, allocations: 1.375 kB / 0.5586 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.6025, allocations: 103.5 kB / 0.5587 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004574/0.6071, allocations: 0.4963 MB / 0.5592 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.6072, allocations: 22.23 kB / 0.5592 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009678/0.6168, allocations: 5.962 MB / 0.565 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.6169, allocations: 7.938 kB / 0.565 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/0.6228, allocations: 1.401 MB / 0.5664 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.6232, allocations: 128.8 kB / 0.5665 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.503e-05/0.6233, allocations: 12 kB / 0.5665 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.6236, allocations: 16 kB / 0.5665 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.6238, allocations: 64.42 kB / 0.5666 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.6239, allocations: 23.98 kB / 0.5666 GB, free: 2.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003848/0.6243, allocations: 271.1 kB / 0.5669 GB, free: 2.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6243, allocations: 0 / 0.5669 GB, free: 2.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001842/0.6261, allocations: 403.1 kB / 0.5673 GB, free: 2.277 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.007794/0.6339, allocations: 2.308 MB / 0.5695 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.636, allocations: 0.8657 MB / 0.5704 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.636, allocations: 0 / 0.5704 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.6375, allocations: 0.7025 MB / 0.571 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6386, allocations: 156.6 kB / 0.5712 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.6539, allocations: 6.087 MB / 0.5771 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.6546, allocations: 0.8952 MB / 0.578 GB, free: 6.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006127/0.6552, allocations: 132.5 kB / 0.5781 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.6556, allocations: 274.4 kB / 0.5784 GB, free: 6.359 MB / 430.1 MB Notification: Performance of SimCode: time 2.064e-06/0.6556, allocations: 0 / 0.5784 GB, free: 6.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/0.7228, allocations: 21.94 MB / 0.5998 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/14.98, allocations: 7.859 kB / 0.5998 GB, free: 0.6133 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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.18405608300236] Failed to read output from testmodel.py, exit status != 0: 15.087582307998673 15.110843985 14.576788641 Calling exit ...