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.0008141/0.0008141, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008449/0.0008449, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8465/0.8465, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.08046/0.08046, allocations: 17.45 MB / 276.6 MB, free: 11.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 411.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.966e-05, allocations: 4.125 kB / 411.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfAlcohol): time 0.004514/0.004534, allocations: 3.904 MB / 415.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007668/0.0122, allocations: 7.711 MB / 423.2 MB, free: 5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.01262, allocations: 9.5 kB / 423.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.01304, allocations: 169.9 kB / 423.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.01434, allocations: 0.8122 MB / 424.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.01616, allocations: 1.042 MB / 425.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000716/0.01688, allocations: 0.9225 MB / 426.1 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.01733, allocations: 420.8 kB / 426.6 MB, free: 3.113 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.01787, allocations: 0.6133 MB / 427.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.01834, allocations: 384.7 kB / 427.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.01843, allocations: 76.62 kB / 427.6 MB, free: 2.785 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.02005, allocations: 0.8637 MB / 428.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.02018, allocations: 187.5 kB / 428.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.0204, allocations: 297.5 kB / 429 MB, free: 2.348 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.02263, allocations: 1.939 MB / 430.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.02263, allocations: 1.156 kB / 430.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.02264, allocations: 0 / 430.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.02265, allocations: 4 kB / 430.9 MB, free: 1.527 MB / 330.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.00161/0.02426, allocations: 1.085 MB / 432 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.0243, allocations: 9.75 kB / 432 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.283e-05/0.02439, allocations: 107.8 kB / 432.1 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.02481, allocations: 152.9 kB / 432.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.02534, allocations: 409.1 kB / 432.6 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.02538, allocations: 50.56 kB / 432.7 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.02546, allocations: 74.31 kB / 432.8 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/0.02624, allocations: 0.7491 MB / 433.5 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.02625, allocations: 192 / 433.5 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.02629, allocations: 33.59 kB / 433.6 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.02631, allocations: 16.31 kB / 433.6 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.0273, allocations: 0.8663 MB / 434.4 MB, free: 15.76 MB / 346.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.002315/0.02962, allocations: 1.851 MB / 436.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.0306, allocations: 0.8065 MB / 437.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.03085, allocations: 254.6 kB / 437.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001955/0.03281, allocations: 1.534 MB / 438.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.03283, allocations: 44.78 kB / 438.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.03283, allocations: 1.562 kB / 438.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.006908/0.03974, allocations: 2.652 MB / 441.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.03977, allocations: 58.31 kB / 441.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.04009, allocations: 418.8 kB / 442 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.04012, allocations: 33.7 kB / 442.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.04027, allocations: 372.2 kB / 442.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.04039, allocations: 210.2 kB / 442.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.04053, allocations: 146.6 kB / 442.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.04064, allocations: 366.7 kB / 443.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.04088, allocations: 205.9 kB / 443.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.04121, allocations: 461.9 kB / 443.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.04184, allocations: 0.72 MB / 444.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.04184, allocations: 0 / 444.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002132/0.04398, allocations: 1.135 MB / 445.6 MB, free: 7.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.04399, allocations: 8 kB / 445.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.044, allocations: 8 kB / 445.7 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.04555, allocations: 450 kB / 446.1 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.04582, allocations: 163.7 kB / 446.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/0.05017, allocations: 4.397 MB / 450.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.05045, allocations: 24 kB / 450.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.05049, allocations: 40 kB / 450.7 MB, free: 1.969 MB / 346.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.0002301/0.05072, allocations: 209.7 kB / 450.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.05079, allocations: 59.59 kB / 451 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.05328, allocations: 1.089 MB / 452.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.05328, allocations: 4 kB / 452.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.05329, allocations: 4 kB / 452.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.05329, allocations: 11.98 kB / 452.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.05638, allocations: 1.69 MB / 453.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.05638, allocations: 3.938 kB / 453.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.05657, allocations: 91.89 kB / 453.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.0585, allocations: 0.5098 MB / 454.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.05854, allocations: 19.98 kB / 454.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.06318, allocations: 5.578 MB / 460 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.06318, allocations: 4.031 kB / 460 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.06584, allocations: 1.407 MB / 461.4 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.06593, allocations: 51.62 kB / 461.4 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.06598, allocations: 12 kB / 461.5 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.06614, allocations: 16.03 kB / 461.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.06624, allocations: 68.27 kB / 461.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.06628, allocations: 28.19 kB / 461.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.0665, allocations: 271.1 kB / 461.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0665, allocations: 3.938 kB / 461.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001086/0.06758, allocations: 403.1 kB / 462.2 MB, free: 5.949 MB / 362.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.003445/0.07103, allocations: 2.311 MB / 464.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.07206, allocations: 0.8577 MB / 465.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.07206, allocations: 64 / 465.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.07268, allocations: 0.706 MB / 466.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.07322, allocations: 144 kB / 466.2 MB, free: 1.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007342/0.08056, allocations: 6.034 MB / 472.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.08079, allocations: 301.7 kB / 472.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.08109, allocations: 128.8 kB / 472.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.08135, allocations: 275.7 kB / 473 MB, free: 10.71 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.08135, allocations: 0 / 473 MB, free: 10.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.1177, allocations: 23.4 MB / 496.4 MB, free: 3.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/7.926, allocations: 0 / 496.4 MB, free: 3.574 MB / 394.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_HeatingOfAlcohol.fmu > Chemical_master_Chemical.Obsolete.Examples.HeatingOfAlcohol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.823482636362314] Failed to read output from testmodel.py, exit status != 0: 8.155426332727075 8.031944298 8.007703116 Calling exit ...