Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.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.001109/0.001109, 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.0009371/0.0009371, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8531/0.8531, allocations: 177.1 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.08047/0.08047, allocations: 17.45 MB / 276.6 MB, free: 11.77 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.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 411.6 MB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.126e-05, allocations: 6.219 kB / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.005449/0.00546, allocations: 7.546 MB / 419.2 MB, free: 8.668 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.02084, allocations: 20.51 MB / 439.7 MB, free: 4.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.02169, allocations: 31.75 kB / 439.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.02258, allocations: 484 kB / 440.2 MB, free: 3.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.02628, allocations: 2.113 MB / 442.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1514/0.1777, allocations: 3.14 MB / 445.4 MB, free: 44.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002409/0.1801, allocations: 2.596 MB / 448 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.1811, allocations: 1.14 MB / 449.2 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.1822, allocations: 1.717 MB / 450.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007842/0.183, allocations: 1.103 MB / 452 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.1832, allocations: 215.5 kB / 452.2 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.1872, allocations: 2.486 MB / 454.7 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.1874, allocations: 0.5223 MB / 455.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.1879, allocations: 0.7975 MB / 456 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006244/0.1942, allocations: 5.497 MB / 461.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1942, allocations: 2.969 kB / 461.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1942, allocations: 0 / 461.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.1942, allocations: 0 / 461.5 MB, free: 41.97 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.00281/0.197, allocations: 2.631 MB / 464.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.197, allocations: 9.438 kB / 464.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.1972, allocations: 248.4 kB / 464.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.1982, allocations: 427.8 kB / 464.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.1991, allocations: 0.899 MB / 465.7 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1992, allocations: 249.4 kB / 465.9 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.1994, allocations: 187.4 kB / 466.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.2012, allocations: 2.084 MB / 468.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2012, allocations: 3.375 kB / 468.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2014, allocations: 72.41 kB / 468.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2014, allocations: 44.78 kB / 468.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.2035, allocations: 2.554 MB / 470.9 MB, free: 37.84 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.005103/0.2086, allocations: 5.342 MB / 476.2 MB, free: 35.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.2113, allocations: 2.166 MB / 478.4 MB, free: 34.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.2121, allocations: 0.7436 MB / 479.1 MB, free: 34.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005757/0.2178, allocations: 4.199 MB / 483.3 MB, free: 32.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2179, allocations: 49.34 kB / 483.4 MB, free: 32.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.026e-06/0.2179, allocations: 0 / 483.4 MB, free: 32.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01279/0.2307, allocations: 5.82 MB / 489.2 MB, free: 30.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2307, allocations: 94.11 kB / 489.3 MB, free: 29.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009183/0.2316, allocations: 0.9888 MB / 490.3 MB, free: 29.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.2317, allocations: 55.11 kB / 490.3 MB, free: 29.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.232, allocations: 0.8497 MB / 491.2 MB, free: 28.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.2323, allocations: 0.5356 MB / 491.7 MB, free: 28.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.2327, allocations: 365.8 kB / 492.1 MB, free: 28.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.384e-05/0.2327, allocations: 309.5 kB / 492.4 MB, free: 27.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.2333, allocations: 0.529 MB / 492.9 MB, free: 27.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.2342, allocations: 1.247 MB / 494.1 MB, free: 26.62 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.2361, allocations: 1.974 MB / 496.1 MB, free: 25.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.487e-05/0.2361, allocations: 6.875 kB / 496.1 MB, free: 25.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004497/0.2406, allocations: 2.536 MB / 498.7 MB, free: 24.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.2406, allocations: 16.62 kB / 498.7 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.2406, allocations: 24.16 kB / 498.7 MB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.243, allocations: 0.6946 MB / 499.4 MB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.244, allocations: 0.5235 MB / 499.9 MB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/0.2498, allocations: 7.774 MB / 0.4958 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.251, allocations: 71.3 kB / 0.4959 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.2511, allocations: 116.5 kB / 0.496 GB, free: 17.61 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000583/0.2517, allocations: 386 kB / 0.4963 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2519, allocations: 148.9 kB / 0.4965 GB, free: 17.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.2562, allocations: 2.468 MB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2562, allocations: 15.94 kB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2562, allocations: 3.219 kB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.2563, allocations: 7.312 kB / 0.4989 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.2592, allocations: 2.312 MB / 0.5012 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2592, allocations: 3.719 kB / 0.5012 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.2599, allocations: 316.8 kB / 0.5015 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/0.2626, allocations: 0.7459 MB / 0.5022 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.2626, allocations: 41.44 kB / 0.5023 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.268, allocations: 8.888 MB / 0.5109 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.268, allocations: 4 kB / 0.5109 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/0.2723, allocations: 2.805 MB / 0.5137 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.2727, allocations: 132.5 kB / 0.5138 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2728, allocations: 30.3 kB / 0.5138 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.2732, allocations: 36 kB / 0.5139 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.2734, allocations: 136.9 kB / 0.514 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.2735, allocations: 50.91 kB / 0.514 GB, free: 2.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005253/0.274, allocations: 0.634 MB / 0.5147 GB, free: 2.293 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.274, allocations: 0 / 0.5147 GB, free: 2.293 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002182/0.2762, allocations: 1.065 MB / 0.5157 GB, free: 1.246 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006826/0.283, allocations: 4.533 MB / 0.5201 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.2856, allocations: 1.984 MB / 0.5221 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.2856, allocations: 6.719 kB / 0.5221 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.2869, allocations: 1.296 MB / 0.5233 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.288, allocations: 332.1 kB / 0.5237 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.305, allocations: 13.5 MB / 0.5368 GB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.3055, allocations: 0.691 MB / 0.5375 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000875/0.3064, allocations: 335.7 kB / 0.5378 GB, free: 10.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/0.3071, allocations: 0.7228 MB / 0.5385 GB, free: 10.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3071, allocations: 0 / 0.5385 GB, free: 10.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06427/0.3713, allocations: 53.96 MB / 0.5912 GB, free: 4.809 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.776/9.147, allocations: 8.047 kB / 0.5912 GB, free: 4.801 MB / 490.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.95997866988182] Failed to read output from testmodel.py, exit status != 0: 9.258393781259656 9.266751912 9.070701793 Calling exit ...