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.001333/0.001333, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001447/0.001447, allocations: 213.8 kB / 22.25 MB, free: 5.082 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.136/0.136, allocations: 23.89 MB / 336.3 MB, free: 11.17 MB / 270.1 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: 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.001982/0.001982, allocations: 75.83 kB / 471.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3278, allocations: 59.87 MB / 0.5186 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.008002/0.3358, allocations: 8.689 MB / 0.5271 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02858/0.3643, allocations: 23.42 MB / 0.55 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.3661, allocations: 29.5 kB / 0.55 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.3679, allocations: 0.5122 MB / 0.5505 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006914/0.3748, allocations: 2.049 MB / 0.5525 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009591/0.3844, allocations: 3.054 MB / 0.5555 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004277/0.3886, allocations: 2.507 MB / 0.558 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.3904, allocations: 1.163 MB / 0.5591 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.3923, allocations: 1.244 MB / 0.5603 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.3947, allocations: 1.377 MB / 0.5617 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.3951, allocations: 216.1 kB / 0.5619 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009473/0.4046, allocations: 2.631 MB / 0.5644 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.4055, allocations: 0.5063 MB / 0.5649 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.4074, allocations: 1.09 MB / 0.566 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.4205, allocations: 5.197 MB / 0.5711 GB, free: 4.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4205, allocations: 0 / 0.5711 GB, free: 4.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4205, allocations: 0 / 0.5711 GB, free: 4.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.365e-05/0.4206, allocations: 0 / 0.5711 GB, free: 4.191 MB / 414.1 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.005377/0.426, allocations: 2.654 MB / 0.5737 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.426, allocations: 12.03 kB / 0.5737 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002979/0.4263, allocations: 253.7 kB / 0.5739 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.4281, allocations: 430.9 kB / 0.5743 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.4299, allocations: 0.906 MB / 0.5752 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.4301, allocations: 243 kB / 0.5754 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.4304, allocations: 180.3 kB / 0.5756 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.4339, allocations: 2.093 MB / 0.5777 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.4339, allocations: 0 / 0.5777 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.4341, allocations: 72 kB / 0.5777 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.4341, allocations: 44 kB / 0.5778 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004187/0.4383, allocations: 2.581 MB / 0.5803 GB, free: 10.61 MB / 430.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.0111/0.4494, allocations: 6.29 MB / 0.5864 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005068/0.4545, allocations: 2.197 MB / 0.5886 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.4558, allocations: 0.7377 MB / 0.5893 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009766/0.4656, allocations: 4.44 MB / 0.5936 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.4656, allocations: 47.5 kB / 0.5937 GB, free: 12.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.707e-06/0.4656, allocations: 0 / 0.5937 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02721/0.4928, allocations: 5.838 MB / 0.5994 GB, free: 6.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4929, allocations: 94.42 kB / 0.5995 GB, free: 6.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4941, allocations: 0.9375 MB / 0.6004 GB, free: 5.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.4942, allocations: 49.7 kB / 0.6004 GB, free: 5.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.4949, allocations: 0.8628 MB / 0.6013 GB, free: 4.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.4954, allocations: 0.5423 MB / 0.6018 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.4959, allocations: 375.4 kB / 0.6022 GB, free: 3.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.496, allocations: 305.1 kB / 0.6024 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009535/0.4969, allocations: 0.5272 MB / 0.603 GB, free: 2.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4985, allocations: 1.243 MB / 0.6042 GB, free: 1.367 MB / 446.1 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.002851/0.5013, allocations: 1.969 MB / 0.6061 GB, free: 15.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.5013, allocations: 8 kB / 0.6061 GB, free: 15.06 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008187/0.5095, allocations: 2.526 MB / 0.6086 GB, free: 12.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5096, allocations: 16 kB / 0.6086 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.5096, allocations: 24 kB / 0.6086 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/0.515, allocations: 0.7058 MB / 0.6093 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.517, allocations: 0.5227 MB / 0.6098 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.5297, allocations: 7.85 MB / 0.6175 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.5312, allocations: 75.98 kB / 0.6176 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.5315, allocations: 119.9 kB / 0.6177 GB, free: 2.727 MB / 462.1 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.0008419/0.5324, allocations: 377.1 kB / 0.618 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.5328, allocations: 151 kB / 0.6182 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009243/0.542, allocations: 2.466 MB / 0.6206 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.542, allocations: 12 kB / 0.6206 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.5421, allocations: 7.938 kB / 0.6206 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.5421, allocations: 7.969 kB / 0.6206 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005888/0.548, allocations: 2.509 MB / 0.6231 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.548, allocations: 4.312 kB / 0.6231 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.5494, allocations: 315.6 kB / 0.6234 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006746/0.5562, allocations: 0.7571 MB / 0.6241 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.5564, allocations: 39.98 kB / 0.6241 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/0.5699, allocations: 8.983 MB / 0.6329 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-06/0.5699, allocations: 11.88 kB / 0.6329 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009844/0.5798, allocations: 2.804 MB / 0.6357 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.5802, allocations: 134.9 kB / 0.6358 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/0.5805, allocations: 32 kB / 0.6358 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008821/0.5813, allocations: 35.98 kB / 0.6359 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.5817, allocations: 133 kB / 0.636 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.5818, allocations: 51.98 kB / 0.636 GB, free: 15.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000966/0.5828, allocations: 0.6342 MB / 0.6366 GB, free: 14.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5828, allocations: 0 / 0.6366 GB, free: 14.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003356/0.5861, allocations: 1.06 MB / 0.6377 GB, free: 13.41 MB / 494.1 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.01266/0.5988, allocations: 4.374 MB / 0.642 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004227/0.603, allocations: 2.003 MB / 0.6439 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.603, allocations: 4 kB / 0.6439 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.6053, allocations: 1.294 MB / 0.6452 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.6072, allocations: 323.4 kB / 0.6455 GB, free: 5.238 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/0.6377, allocations: 13.61 MB / 0.6588 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.6389, allocations: 1.264 MB / 0.66 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001256/0.6401, allocations: 339.8 kB / 0.6603 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.6412, allocations: 0.714 MB / 0.661 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.6412, allocations: 0 / 0.661 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.7552, allocations: 53.13 MB / 0.7129 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/17.37, allocations: 6.75 kB / 0.7129 GB, free: 15.56 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.ExothermicReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.131986205931753] Failed to read output from testmodel.py, exit status != 0: 17.518878143047914 17.54440045 17.119045326 Calling exit ...