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.001258/0.001258, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001356/0.001356, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.98 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.1361/0.1361, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.001909/0.001909, allocations: 63.91 kB / 471.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3191, allocations: 59.86 MB / 0.5186 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005667/0.3247, allocations: 4.32 MB / 0.5228 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008981/0.3337, allocations: 8.768 MB / 0.5313 GB, free: 208 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006229/0.3343, allocations: 9.219 kB / 0.5314 GB, free: 204 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.3349, allocations: 187.5 kB / 0.5315 GB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.3373, allocations: 0.7924 MB / 0.5323 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.3406, allocations: 1.03 MB / 0.5333 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.3421, allocations: 0.8826 MB / 0.5342 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006597/0.3428, allocations: 426 kB / 0.5346 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.3434, allocations: 452.9 kB / 0.535 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.3441, allocations: 484.9 kB / 0.5355 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3442, allocations: 76.38 kB / 0.5355 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.3474, allocations: 0.9131 MB / 0.5364 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.3476, allocations: 175.1 kB / 0.5366 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000429/0.348, allocations: 412.6 kB / 0.537 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00341/0.3514, allocations: 1.84 MB / 0.5388 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3514, allocations: 1.375 kB / 0.5388 GB, free: 12.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3514, allocations: 0 / 0.5388 GB, free: 12.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.3514, allocations: 3.938 kB / 0.5388 GB, free: 12.63 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.002133/0.3535, allocations: 1.107 MB / 0.5399 GB, free: 11.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3536, allocations: 9.5 kB / 0.5399 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.3537, allocations: 107.1 kB / 0.54 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.3544, allocations: 157.7 kB / 0.5401 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.3552, allocations: 406 kB / 0.5405 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.3553, allocations: 49.12 kB / 0.5406 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3554, allocations: 73.67 kB / 0.5407 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.3566, allocations: 0.7566 MB / 0.5414 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3566, allocations: 1.344 kB / 0.5414 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.3567, allocations: 25.16 kB / 0.5414 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.3567, allocations: 15.91 kB / 0.5414 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.3582, allocations: 0.8761 MB / 0.5423 GB, free: 10.86 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.004098/0.3623, allocations: 2.311 MB / 0.5445 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.3639, allocations: 0.8194 MB / 0.5453 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.3643, allocations: 260.2 kB / 0.5456 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003707/0.368, allocations: 1.596 MB / 0.5471 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3681, allocations: 44.8 kB / 0.5472 GB, free: 8.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.794e-06/0.3681, allocations: 0 / 0.5472 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=56): time 0.0155/0.3836, allocations: 2.66 MB / 0.5498 GB, free: 6.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3836, allocations: 57.66 kB / 0.5498 GB, free: 6.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.3841, allocations: 409.8 kB / 0.5502 GB, free: 6.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.3842, allocations: 39.7 kB / 0.5503 GB, free: 6.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.3845, allocations: 375.6 kB / 0.5506 GB, free: 6.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.3846, allocations: 210.1 kB / 0.5508 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3849, allocations: 139.8 kB / 0.551 GB, free: 5.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.385, allocations: 366.9 kB / 0.5513 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.3854, allocations: 201.1 kB / 0.5515 GB, free: 5.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.3859, allocations: 464.4 kB / 0.5519 GB, free: 4.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.3869, allocations: 0.7217 MB / 0.5527 GB, free: 4.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3869, allocations: 3.031 kB / 0.5527 GB, free: 4.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00468/0.3916, allocations: 1.129 MB / 0.5538 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3916, allocations: 8.438 kB / 0.5538 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.3916, allocations: 8.188 kB / 0.5538 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/0.3953, allocations: 448.5 kB / 0.5542 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.3958, allocations: 159.5 kB / 0.5544 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00759/0.4034, allocations: 4.451 MB / 0.5587 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.4041, allocations: 25.62 kB / 0.5587 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/0.4042, allocations: 44.11 kB / 0.5588 GB, free: 15.55 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.0003797/0.4046, allocations: 211.8 kB / 0.559 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.4047, allocations: 59.75 kB / 0.559 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.4102, allocations: 1.08 MB / 0.5601 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4102, allocations: 12 kB / 0.5601 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4102, allocations: 0 / 0.5601 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4103, allocations: 7.922 kB / 0.5601 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.4166, allocations: 1.779 MB / 0.5618 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4166, allocations: 7.938 kB / 0.5618 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.4169, allocations: 83.91 kB / 0.5619 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004513/0.4214, allocations: 0.5061 MB / 0.5624 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.4215, allocations: 24 kB / 0.5624 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008225/0.4297, allocations: 5.644 MB / 0.568 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4297, allocations: 0 / 0.568 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.4352, allocations: 1.411 MB / 0.5693 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.4354, allocations: 51.62 kB / 0.5694 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.4355, allocations: 16.03 kB / 0.5694 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.4358, allocations: 16 kB / 0.5694 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.436, allocations: 64.27 kB / 0.5695 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.436, allocations: 24 kB / 0.5695 GB, free: 4.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003296/0.4364, allocations: 271.1 kB / 0.5698 GB, free: 4.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4364, allocations: 4 kB / 0.5698 GB, free: 4.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001548/0.4379, allocations: 403.1 kB / 0.5701 GB, free: 3.918 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.006844/0.4448, allocations: 2.302 MB / 0.5724 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.4464, allocations: 0.8694 MB / 0.5732 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4464, allocations: 64 / 0.5732 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4476, allocations: 0.7021 MB / 0.5739 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.4484, allocations: 144.3 kB / 0.5741 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.4626, allocations: 6.097 MB / 0.58 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.4631, allocations: 0.8913 MB / 0.5809 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.4635, allocations: 136.7 kB / 0.581 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.4639, allocations: 282.1 kB / 0.5813 GB, free: 8 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4639, allocations: 0 / 0.5813 GB, free: 8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/0.5256, allocations: 22.63 MB / 0.6034 GB, free: 1.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.47, allocations: 0 / 0.6034 GB, free: 1.582 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: 17.150295685001765] Failed to read output from testmodel.py, exit status != 0: 14.597634808000294 14.623323438 14.267267769 Calling exit ...