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.0007999/0.0007999, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007925/0.0007925, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9001/0.9001, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08931/0.08931, allocations: 17.36 MB / 276.6 MB, free: 11.83 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 411.4 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.399e-05, allocations: 2.281 kB / 411.5 MB, free: 408 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.005777/0.005801, allocations: 3.892 MB / 415.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.009781/0.01558, allocations: 7.705 MB / 423 MB, free: 4.746 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006726/0.01625, allocations: 15.88 kB / 423.1 MB, free: 4.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.01702, allocations: 162.6 kB / 423.2 MB, free: 4.57 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002561/0.01958, allocations: 0.8183 MB / 424 MB, free: 3.746 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.02252, allocations: 1.048 MB / 425.1 MB, free: 2.691 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.02394, allocations: 0.9158 MB / 426 MB, free: 1.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.02448, allocations: 420.7 kB / 426.4 MB, free: 1.355 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006373/0.02512, allocations: 0.6122 MB / 427 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.02562, allocations: 383.1 kB / 427.4 MB, free: 376 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.0257, allocations: 76 kB / 427.5 MB, free: 300 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.02767, allocations: 0.8577 MB / 428.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.02784, allocations: 187.4 kB / 428.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.02814, allocations: 291.4 kB / 428.8 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.03119, allocations: 1.942 MB / 430.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.0312, allocations: 7.984 kB / 430.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0312, allocations: 0 / 430.7 MB, free: 13.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.03121, allocations: 3.938 kB / 430.8 MB, free: 13 MB / 410.7 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.001461/0.03267, allocations: 1.081 MB / 431.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.03273, allocations: 12.03 kB / 431.8 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.03283, allocations: 110.7 kB / 432 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004555/0.03329, allocations: 156.1 kB / 432.1 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.03395, allocations: 401.1 kB / 432.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.034, allocations: 58.36 kB / 432.6 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.03409, allocations: 68.33 kB / 432.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.03498, allocations: 0.7631 MB / 433.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.035, allocations: 192 / 433.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.03505, allocations: 32.06 kB / 433.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.03506, allocations: 16 kB / 433.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.03596, allocations: 0.8628 MB / 434.3 MB, free: 9.383 MB / 410.7 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.002538/0.0385, allocations: 1.844 MB / 436.1 MB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.03951, allocations: 0.7992 MB / 436.9 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.03978, allocations: 263.2 kB / 437.2 MB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002241/0.04202, allocations: 1.532 MB / 438.7 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.04204, allocations: 38.34 kB / 438.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.324e-06/0.04204, allocations: 0 / 438.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=56): time 0.007153/0.0492, allocations: 2.661 MB / 441.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.04923, allocations: 59.91 kB / 441.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.04959, allocations: 425.6 kB / 441.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.04962, allocations: 33.7 kB / 441.9 MB, free: 1.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.04978, allocations: 364.2 kB / 442.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.0499, allocations: 210.2 kB / 442.5 MB, free: 1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.05004, allocations: 150.5 kB / 442.6 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.05015, allocations: 362.7 kB / 443 MB, free: 496 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.05039, allocations: 205.9 kB / 443.2 MB, free: 288 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1805/0.2309, allocations: 463.5 kB / 443.6 MB, free: 69.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.2316, allocations: 0.7136 MB / 444.4 MB, free: 69.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2316, allocations: 3.344 kB / 444.4 MB, free: 69.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002226/0.2338, allocations: 1.129 MB / 445.5 MB, free: 69.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.2338, allocations: 9.75 kB / 445.5 MB, free: 69.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.2339, allocations: 9.938 kB / 445.5 MB, free: 69.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.2354, allocations: 438.8 kB / 445.9 MB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.2357, allocations: 167.9 kB / 446.1 MB, free: 69.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/0.2399, allocations: 4.396 MB / 450.5 MB, free: 65.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.2403, allocations: 24.84 kB / 450.5 MB, free: 65.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.2404, allocations: 42.91 kB / 450.6 MB, free: 65.62 MB / 410.7 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.000265/0.2407, allocations: 204.6 kB / 450.8 MB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.2408, allocations: 60.08 kB / 450.8 MB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.2431, allocations: 1.086 MB / 451.9 MB, free: 65.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2431, allocations: 3.375 kB / 451.9 MB, free: 65.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2431, allocations: 3.344 kB / 451.9 MB, free: 65.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2431, allocations: 3.328 kB / 451.9 MB, free: 65.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.246, allocations: 1.7 MB / 453.6 MB, free: 64.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.246, allocations: 224 / 453.6 MB, free: 64.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.2461, allocations: 97.31 kB / 453.7 MB, free: 64.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.248, allocations: 0.5021 MB / 454.2 MB, free: 64.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.248, allocations: 20.69 kB / 454.2 MB, free: 64.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.2519, allocations: 5.583 MB / 459.8 MB, free: 59.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2519, allocations: 7.562 kB / 459.8 MB, free: 59.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.2544, allocations: 1.403 MB / 461.2 MB, free: 58.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2545, allocations: 50.69 kB / 461.3 MB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.2546, allocations: 14.5 kB / 461.3 MB, free: 58.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.2547, allocations: 15.41 kB / 461.3 MB, free: 58.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2549, allocations: 66.34 kB / 461.4 MB, free: 58.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.2549, allocations: 26.88 kB / 461.4 MB, free: 58.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.2551, allocations: 268.2 kB / 461.7 MB, free: 58.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2551, allocations: 3.828 kB / 461.7 MB, free: 58.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009982/0.2561, allocations: 402.8 kB / 462.1 MB, free: 58.53 MB / 410.7 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.003195/0.2593, allocations: 2.31 MB / 464.4 MB, free: 57.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.2604, allocations: 0.8612 MB / 465.2 MB, free: 56.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.2604, allocations: 0 / 465.2 MB, free: 56.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007049/0.2611, allocations: 0.7055 MB / 465.9 MB, free: 56.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.2619, allocations: 136.8 kB / 466.1 MB, free: 56.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.2695, allocations: 6.039 MB / 472.1 MB, free: 52.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2697, allocations: 298.5 kB / 472.4 MB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.27, allocations: 134.1 kB / 472.5 MB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.2703, allocations: 275.7 kB / 472.8 MB, free: 52.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2703, allocations: 0 / 472.8 MB, free: 52.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/0.3191, allocations: 23.4 MB / 496.2 MB, free: 47.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.457/8.776, allocations: 4.906 kB / 496.2 MB, free: 47.42 MB / 410.7 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 10.71372308023274] Failed to read output from testmodel.py, exit status != 0: 8.878725209273398 8.885381136 8.852581684 Calling exit ...