Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008237/0.0008237, allocations: 100.1 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 176.5 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.381/0.381, allocations: 15.27 MB / 307 MB, free: 15.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003442, allocations: 15.98 kB / 372.1 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4301, allocations: 54.61 MB / 426.7 MB, free: 40.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.008158/0.4382, allocations: 8.616 MB / 435.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.4597, allocations: 21.21 MB / 456.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.4622, allocations: 35.09 kB / 456.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.4638, allocations: 471 kB / 457 MB, free: 21.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007814/0.4717, allocations: 1.721 MB / 458.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.4817, allocations: 2.433 MB / 461.2 MB, free: 19.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004814/0.4866, allocations: 2.304 MB / 463.5 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.4891, allocations: 1.084 MB / 464.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.4917, allocations: 0.9474 MB / 465.5 MB, free: 17.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.4947, allocations: 1.203 MB / 466.7 MB, free: 16.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.4952, allocations: 118.8 kB / 466.8 MB, free: 16.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/0.5074, allocations: 2.341 MB / 469.2 MB, free: 16.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.5084, allocations: 402.8 kB / 469.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.5104, allocations: 373.7 kB / 469.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.5208, allocations: 3.708 MB / 473.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5208, allocations: 1.375 kB / 473.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5208, allocations: 0 / 473.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000177/0.521, allocations: 0 / 473.6 MB, free: 14.43 MB / 350.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.01052/0.5315, allocations: 2.214 MB / 475.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/0.5316, allocations: 9.188 kB / 475.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.535, allocations: 412.5 kB / 476.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.5386, allocations: 0.875 MB / 477.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/0.5391, allocations: 195 kB / 477.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.5403, allocations: 184.3 kB / 477.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008611/0.5489, allocations: 2.067 MB / 479.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.762e-05/0.5491, allocations: 1.438 kB / 479.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005434/0.5496, allocations: 74.69 kB / 479.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.5497, allocations: 47.05 kB / 479.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007039/0.5568, allocations: 2.569 MB / 482.3 MB, free: 10.61 MB / 350.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.01421/0.571, allocations: 6.306 MB / 488.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.5764, allocations: 2.517 MB / 491.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.5776, allocations: 0.8434 MB / 491.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.5894, allocations: 7.908 MB / 499.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.5895, allocations: 51.62 kB / 499.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.038e-06/0.5895, allocations: 0 / 499.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=150): time 0.02903/0.6185, allocations: 6.248 MB / 0.4943 GB, free: 5.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.6187, allocations: 90.42 kB / 0.4944 GB, free: 4.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.6206, allocations: 0.9295 MB / 0.4953 GB, free: 4.051 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002427/0.6208, allocations: 49.7 kB / 0.4953 GB, free: 3.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007671/0.6216, allocations: 0.8366 MB / 0.4961 GB, free: 3.145 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008345/0.6225, allocations: 0.5199 MB / 0.4966 GB, free: 2.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.6227, allocations: 40 kB / 0.4967 GB, free: 2.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.6229, allocations: 381.9 kB / 0.497 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.6242, allocations: 0.5233 MB / 0.4976 GB, free: 1.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.6261, allocations: 1.239 MB / 0.4988 GB, free: 96 kB / 366.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.001874/0.6279, allocations: 0.8044 MB / 0.4996 GB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/0.628, allocations: 4 kB / 0.4996 GB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009545/0.6375, allocations: 2.561 MB / 0.5021 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.6377, allocations: 16 kB / 0.5021 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-05/0.6377, allocations: 24 kB / 0.5021 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005757/0.6435, allocations: 0.737 MB / 0.5028 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.6459, allocations: 0.5304 MB / 0.5033 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.6602, allocations: 7.534 MB / 0.5107 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.6627, allocations: 119.8 kB / 0.5108 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005707/0.6633, allocations: 108 kB / 0.5109 GB, free: 3.066 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 6,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.6648, allocations: 381.1 kB / 0.5113 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005776/0.6654, allocations: 138.3 kB / 0.5114 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/0.6751, allocations: 2.521 MB / 0.5139 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/0.6752, allocations: 16 kB / 0.5139 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.6752, allocations: 0 / 0.5139 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-05/0.6753, allocations: 15.92 kB / 0.5139 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/0.6825, allocations: 2.525 MB / 0.5164 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.6826, allocations: 3.953 kB / 0.5164 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.6841, allocations: 323.8 kB / 0.5167 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006538/0.6907, allocations: 0.7845 MB / 0.5174 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.691, allocations: 47.97 kB / 0.5175 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.7046, allocations: 8.634 MB / 0.5259 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.7046, allocations: 4 kB / 0.5259 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.7155, allocations: 2.849 MB / 0.5287 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008668/0.7164, allocations: 219.2 kB / 0.5289 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/0.717, allocations: 32 kB / 0.5289 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.7183, allocations: 55.88 kB / 0.529 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/0.7188, allocations: 121 kB / 0.5291 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.7189, allocations: 51.98 kB / 0.5292 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.7202, allocations: 0.6225 MB / 0.5298 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7202, allocations: 3.938 kB / 0.5298 GB, free: 14.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005503/0.7257, allocations: 1.031 MB / 0.5308 GB, free: 13.77 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(2,100.0%) 7} * Non-linear torn systems: 3 {1 3,1 1,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004209/0.7299, allocations: 1.046 MB / 0.5318 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004885/0.7349, allocations: 2.065 MB / 0.5338 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.7349, allocations: 0 / 0.5338 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.7375, allocations: 1.368 MB / 0.5352 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.7401, allocations: 305 kB / 0.5354 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008594/0.7487, allocations: 3.7 MB / 0.5391 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.7502, allocations: 1.271 MB / 0.5403 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007622/0.751, allocations: 255.5 kB / 0.5405 GB, free: 3.555 MB / 414.1 MB Notification: Performance of SimCode: time 2.134e-06/0.751, allocations: 0 / 0.5405 GB, free: 3.555 MB / 414.1 MB Notification: Performance of Templates: time 0.3429/1.094, allocations: 56.35 MB / 0.5956 GB, free: 136.7 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppChemical_Chemical.Examples.ExothermicReactionCalcHelperMain.o OMCppChemical_Chemical.Examples.ExothermicReactionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.ExothermicReactionCalcHelperMain.o] Error 1