Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001143/0.001143, 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.002033/0.002033, 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.9691/0.9691, 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 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.08923/0.08923, allocations: 17.37 MB / 276.6 MB, free: 11.84 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.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 411.4 MB, free: 432 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.689e-05, allocations: 2.281 kB / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.007284/0.007311, allocations: 7.567 MB / 419 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.02551, allocations: 20.49 MB / 439.5 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.0268, allocations: 31.75 kB / 439.5 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.02798, allocations: 484 kB / 440 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.03344, allocations: 2.109 MB / 442.1 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1881/0.2215, allocations: 3.148 MB / 445.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003141/0.2247, allocations: 2.59 MB / 447.9 MB, free: 44.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.2261, allocations: 1.145 MB / 449 MB, free: 44.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.2279, allocations: 1.711 MB / 450.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.2293, allocations: 1.103 MB / 451.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.2298, allocations: 217.3 kB / 452 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005955/0.2357, allocations: 2.492 MB / 454.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007688/0.2365, allocations: 0.518 MB / 455 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.2377, allocations: 0.7895 MB / 455.8 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.2477, allocations: 5.505 MB / 461.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.2477, allocations: 0 / 461.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2477, allocations: 1.031 kB / 461.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.626e-05/0.2478, allocations: 0 / 461.3 MB, free: 42.18 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.005324/0.2531, allocations: 2.63 MB / 464 MB, free: 40.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.2532, allocations: 9.062 kB / 464 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002578/0.2535, allocations: 257 kB / 464.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.2547, allocations: 423.7 kB / 464.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.2561, allocations: 0.9088 MB / 465.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.2562, allocations: 251.4 kB / 465.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.2565, allocations: 182 kB / 466 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.2589, allocations: 2.086 MB / 468 MB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.2589, allocations: 384 / 468 MB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.259, allocations: 76 kB / 468.1 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.2591, allocations: 41.5 kB / 468.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.262, allocations: 2.556 MB / 470.7 MB, free: 38.04 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.006858/0.2688, allocations: 5.345 MB / 476.1 MB, free: 35.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.272, allocations: 2.164 MB / 478.2 MB, free: 34.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.2729, allocations: 0.7383 MB / 479 MB, free: 34.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006288/0.2792, allocations: 4.195 MB / 483.2 MB, free: 32.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2792, allocations: 52.5 kB / 483.2 MB, free: 32.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.988e-06/0.2792, allocations: 2.625 kB / 483.2 MB, free: 32.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01493/0.2942, allocations: 5.83 MB / 489 MB, free: 30.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2942, allocations: 94.36 kB / 489.1 MB, free: 30.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.2953, allocations: 0.9801 MB / 490.1 MB, free: 29.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.2954, allocations: 51.14 kB / 490.2 MB, free: 29.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.2958, allocations: 0.8551 MB / 491 MB, free: 29.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.2961, allocations: 0.5315 MB / 491.6 MB, free: 28.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.2964, allocations: 368.6 kB / 491.9 MB, free: 28.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.277e-05/0.2965, allocations: 303.1 kB / 492.2 MB, free: 28.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.2972, allocations: 0.5316 MB / 492.7 MB, free: 27.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.2981, allocations: 1.25 MB / 494 MB, free: 26.82 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.001962/0.3001, allocations: 1.967 MB / 496 MB, free: 25.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.3001, allocations: 6.875 kB / 496 MB, free: 25.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005091/0.3052, allocations: 2.535 MB / 498.5 MB, free: 24.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3052, allocations: 17 kB / 498.5 MB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.3053, allocations: 23.47 kB / 498.5 MB, free: 24.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.3078, allocations: 0.7007 MB / 499.2 MB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3089, allocations: 0.5211 MB / 499.8 MB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.3154, allocations: 7.779 MB / 0.4956 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.3168, allocations: 72.17 kB / 0.4957 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.3169, allocations: 111.3 kB / 0.4958 GB, free: 17.8 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.00071/0.3177, allocations: 388.2 kB / 0.4962 GB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.3179, allocations: 145.3 kB / 0.4963 GB, free: 17.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.3227, allocations: 2.473 MB / 0.4987 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.3227, allocations: 18.53 kB / 0.4988 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3227, allocations: 3.844 kB / 0.4988 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.3227, allocations: 6.891 kB / 0.4988 GB, free: 16.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.3268, allocations: 2.307 MB / 0.501 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3268, allocations: 6.531 kB / 0.501 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.3277, allocations: 310.8 kB / 0.5013 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.3306, allocations: 0.7456 MB / 0.5021 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.3308, allocations: 39.23 kB / 0.5021 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005961/0.3367, allocations: 8.891 MB / 0.5108 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3368, allocations: 0 / 0.5108 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.3414, allocations: 2.814 MB / 0.5135 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004183/0.3418, allocations: 130.8 kB / 0.5137 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.342, allocations: 32 kB / 0.5137 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.3424, allocations: 35.8 kB / 0.5137 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.3427, allocations: 129.2 kB / 0.5138 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.3428, allocations: 50.86 kB / 0.5139 GB, free: 3.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005775/0.3433, allocations: 0.6351 MB / 0.5145 GB, free: 2.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3433, allocations: 0 / 0.5145 GB, free: 2.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002794/0.3461, allocations: 1.063 MB / 0.5155 GB, free: 1.504 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.007609/0.3537, allocations: 4.444 MB / 0.5199 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003213/0.357, allocations: 1.979 MB / 0.5218 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.357, allocations: 0 / 0.5218 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.3585, allocations: 1.302 MB / 0.5231 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.001398/0.3599, allocations: 325.8 kB / 0.5234 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/0.3792, allocations: 13.51 MB / 0.5366 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.3798, allocations: 0.6803 MB / 0.5373 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001044/0.3808, allocations: 339.8 kB / 0.5376 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/0.3816, allocations: 0.7112 MB / 0.5383 GB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/0.3816, allocations: 0 / 0.5383 GB, free: 10.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09751/0.4791, allocations: 53.96 MB / 0.591 GB, free: 5.059 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.901/10.38, allocations: 7.031 kB / 0.591 GB, free: 5.055 MB / 490.7 MB " [Timeout remaining time 650] (rm -f Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ExothermicReaction.sim & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.445383348502219] Failed to read output from testmodel.py, exit status != 0: 10.49776860140264 10.505924521 10.256268235 Calling exit ...