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.001406/0.001406, allocations: 116.8 kB / 17.17 MB, free: 6 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.001425/0.001425, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1426/0.1426, allocations: 23.89 MB / 333.4 MB, free: 1.16 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ExothermicReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ExothermicReaction",fmuType="cs",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.001978/0.001978, allocations: 60.97 kB / 466.7 MB, free: 30.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 59.84 MB / 0.5142 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ExothermicReaction): time 0.01137/0.1153, allocations: 8.629 MB / 0.5226 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0312/0.1465, allocations: 23.37 MB / 0.5455 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.1481, allocations: 23.81 kB / 0.5455 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.1498, allocations: 0.5234 MB / 0.546 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00611/0.1559, allocations: 2.017 MB / 0.548 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008224/0.1642, allocations: 3.029 MB / 0.5509 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.1683, allocations: 2.503 MB / 0.5534 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.17, allocations: 1.169 MB / 0.5545 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.1717, allocations: 1.251 MB / 0.5557 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.174, allocations: 1.37 MB / 0.5571 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.1744, allocations: 216 kB / 0.5573 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007787/0.1822, allocations: 2.629 MB / 0.5599 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007624/0.1829, allocations: 0.5063 MB / 0.5603 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.1845, allocations: 1.097 MB / 0.5614 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.196, allocations: 5.194 MB / 0.5665 GB, free: 7.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.196, allocations: 0 / 0.5665 GB, free: 7.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.196, allocations: 0 / 0.5665 GB, free: 7.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.495e-05/0.196, allocations: 0 / 0.5665 GB, free: 7.113 MB / 430.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.00574/0.2018, allocations: 2.73 MB / 0.5692 GB, free: 4.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2018, allocations: 11.97 kB / 0.5692 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.274e-05/0.2018, allocations: 51.7 kB / 0.5692 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000335/0.2022, allocations: 249.7 kB / 0.5695 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.2041, allocations: 430.9 kB / 0.5699 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.206, allocations: 0.9716 MB / 0.5708 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.2062, allocations: 191.5 kB / 0.571 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.2066, allocations: 192.1 kB / 0.5712 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.2104, allocations: 2.078 MB / 0.5732 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.2105, allocations: 0 / 0.5732 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.2107, allocations: 76.08 kB / 0.5733 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/0.2107, allocations: 44 kB / 0.5733 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.2153, allocations: 2.581 MB / 0.5758 GB, free: 13.37 MB / 446.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.0122/0.2275, allocations: 6.375 MB / 0.5821 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005479/0.233, allocations: 2.403 MB / 0.5844 GB, free: 4.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.2344, allocations: 0.7458 MB / 0.5851 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2424/0.4768, allocations: 8.073 MB / 0.593 GB, free: 63.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4768, allocations: 45.28 kB / 0.5931 GB, free: 63.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.046e-06/0.4768, allocations: 0 / 0.5931 GB, free: 63.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02805/0.5049, allocations: 6.223 MB / 0.5991 GB, free: 61.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.5049, allocations: 94.02 kB / 0.5992 GB, free: 60.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.5065, allocations: 0.9382 MB / 0.6002 GB, free: 60.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.5067, allocations: 50.98 kB / 0.6002 GB, free: 60.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.5072, allocations: 0.8594 MB / 0.601 GB, free: 59.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.5077, allocations: 0.5365 MB / 0.6016 GB, free: 59.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.5082, allocations: 377 kB / 0.6019 GB, free: 59.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.5083, allocations: 301.8 kB / 0.6022 GB, free: 59.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5093, allocations: 0.5284 MB / 0.6027 GB, free: 58.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.5106, allocations: 1.245 MB / 0.6039 GB, free: 57.79 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.002603/0.5132, allocations: 2.041 MB / 0.6059 GB, free: 56.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.5132, allocations: 10.31 kB / 0.606 GB, free: 56.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008175/0.5214, allocations: 2.541 MB / 0.6084 GB, free: 55.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.5214, allocations: 18.09 kB / 0.6084 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.5214, allocations: 23.38 kB / 0.6085 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/0.5269, allocations: 0.6967 MB / 0.6092 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.529, allocations: 0.5228 MB / 0.6097 GB, free: 55.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.5395, allocations: 8.283 MB / 0.6178 GB, free: 47.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.5413, allocations: 76.81 kB / 0.6178 GB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.5415, allocations: 105.8 kB / 0.6179 GB, free: 47.83 MB / 446.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.0007012/0.5422, allocations: 382.1 kB / 0.6183 GB, free: 47.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.5425, allocations: 146 kB / 0.6184 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/0.5505, allocations: 2.472 MB / 0.6208 GB, free: 46.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.5505, allocations: 11.69 kB / 0.6209 GB, free: 46.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.5505, allocations: 3.781 kB / 0.6209 GB, free: 46.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.488e-05/0.5505, allocations: 7.969 kB / 0.6209 GB, free: 46.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/0.5558, allocations: 2.527 MB / 0.6233 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5559, allocations: 3.969 kB / 0.6233 GB, free: 44.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.5572, allocations: 319.5 kB / 0.6236 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006098/0.5633, allocations: 0.7536 MB / 0.6244 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.5635, allocations: 43.36 kB / 0.6244 GB, free: 44.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.5741, allocations: 9.487 MB / 0.6337 GB, free: 35.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5741, allocations: 11.7 kB / 0.6337 GB, free: 35.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008474/0.5826, allocations: 2.81 MB / 0.6364 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.583, allocations: 210.2 kB / 0.6366 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.5832, allocations: 31.94 kB / 0.6367 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008161/0.584, allocations: 32 kB / 0.6367 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.5843, allocations: 121 kB / 0.6368 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/0.5844, allocations: 59.97 kB / 0.6369 GB, free: 32.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.585, allocations: 0.6303 MB / 0.6375 GB, free: 31.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.585, allocations: 0 / 0.6375 GB, free: 31.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0031/0.5881, allocations: 1.07 MB / 0.6385 GB, free: 30.49 MB / 446.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.01055/0.5987, allocations: 4.381 MB / 0.6428 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003774/0.6025, allocations: 1.983 MB / 0.6447 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6025, allocations: 0 / 0.6447 GB, free: 24.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.6045, allocations: 1.305 MB / 0.646 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.6064, allocations: 333.2 kB / 0.6463 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/0.6326, allocations: 13.6 MB / 0.6596 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.6332, allocations: 1.264 MB / 0.6609 GB, free: 6.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.6342, allocations: 343.2 kB / 0.6612 GB, free: 6.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/0.635, allocations: 0.714 MB / 0.6619 GB, free: 5.625 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.635, allocations: 0 / 0.6619 GB, free: 5.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/0.7462, allocations: 51.57 MB / 0.7122 GB, free: 2.328 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/17.46, allocations: 3.859 kB / 0.7123 GB, free: 2.324 MB / 494.1 MB " [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.65420092997374] Failed to read output from testmodel.py, exit status != 0: 17.645776528981514 17.661522211 17.462257132 Calling exit ...