Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.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.001864/0.001864, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.002366/0.002366, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.516/1.516, allocations: 177.2 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1498/0.1498, allocations: 17.45 MB / 277 MB, free: 11.59 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: translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 352.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.411e-05, allocations: 4.703 kB / 352.8 MB, free: 10.22 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction): time 0.04211/0.04214, allocations: 25.3 MB / 378.1 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.05498, allocations: 7.063 MB / 385.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.05563, allocations: 19.88 kB / 385.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.05639, allocations: 166.6 kB / 385.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.05881, allocations: 0.7327 MB / 386.1 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.06204, allocations: 1.072 MB / 387.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.06377, allocations: 0.9662 MB / 388.1 MB, free: 7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008902/0.06466, allocations: 442.7 kB / 388.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.06572, allocations: 0.6317 MB / 389.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008984/0.06661, allocations: 407 kB / 389.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002027/0.06682, allocations: 80 kB / 389.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.06932, allocations: 0.8225 MB / 390.5 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.06965, allocations: 207.3 kB / 390.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.07025, allocations: 299.3 kB / 391 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.07489, allocations: 1.911 MB / 392.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.0749, allocations: 0 / 392.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0749, allocations: 0 / 392.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.501e-05/0.07493, allocations: 3.938 kB / 392.9 MB, free: 2.215 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002702/0.07764, allocations: 1.1 MB / 394 MB, free: 1.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.07768, allocations: 12.03 kB / 394 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.07868, allocations: 255.6 kB / 394.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009439/0.07962, allocations: 436.9 kB / 394.7 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.07976, allocations: 106 kB / 394.8 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.0799, allocations: 68.38 kB / 394.8 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.08152, allocations: 0.7782 MB / 395.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.08154, allocations: 192 / 395.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.08162, allocations: 28.12 kB / 395.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.08164, allocations: 19.98 kB / 395.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.08335, allocations: 0.8679 MB / 396.5 MB, free: 14.48 MB / 330.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.004647/0.088, allocations: 2.003 MB / 398.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.08995, allocations: 0.817 MB / 399.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.09048, allocations: 279.2 kB / 399.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003839/0.09432, allocations: 1.563 MB / 401.2 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.09435, allocations: 34.56 kB / 401.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.933e-06/0.09435, allocations: 0 / 401.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.002939/0.09729, allocations: 1.182 MB / 402.4 MB, free: 8.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.09735, allocations: 55.41 kB / 402.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.09791, allocations: 405.6 kB / 402.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.09795, allocations: 33.7 kB / 402.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.09829, allocations: 380 kB / 403.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.09846, allocations: 162.6 kB / 403.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.09868, allocations: 130.6 kB / 403.6 MB, free: 7.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.09891, allocations: 358.8 kB / 403.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.09924, allocations: 149.9 kB / 404.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.09979, allocations: 392.5 kB / 404.4 MB, free: 6.289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/0.1008, allocations: 0.5757 MB / 405 MB, free: 5.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1008, allocations: 0 / 405 MB, free: 5.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001289/0.1021, allocations: 0.6496 MB / 405.7 MB, free: 4.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.1021, allocations: 8 kB / 405.7 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.1021, allocations: 8 kB / 405.7 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/0.1022, allocations: 12 kB / 405.7 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008143/0.103, allocations: 200 kB / 405.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.103, allocations: 23.92 kB / 405.9 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1033, allocations: 23.94 kB / 405.9 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.1034, allocations: 36 kB / 406 MB, free: 4.645 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004432/0.1038, allocations: 205.5 kB / 406.2 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.104, allocations: 59.72 kB / 406.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1051, allocations: 0.4987 MB / 406.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1051, allocations: 4 kB / 406.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1051, allocations: 3.938 kB / 406.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.1051, allocations: 7.922 kB / 406.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008659/0.106, allocations: 486.6 kB / 407.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.106, allocations: 0 / 407.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.1067, allocations: 143.8 kB / 407.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.1067, allocations: 0 / 407.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.1067, allocations: 19.98 kB / 407.4 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1067, allocations: 4.125 kB / 407.4 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1067, allocations: 4 kB / 407.4 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1081, allocations: 0.744 MB / 408.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.1083, allocations: 83.62 kB / 408.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.1084, allocations: 16 kB / 408.2 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1087, allocations: 4 kB / 408.2 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1088, allocations: 44.38 kB / 408.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.1088, allocations: 19.98 kB / 408.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.1092, allocations: 259.2 kB / 408.5 MB, free: 1.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1092, allocations: 0 / 408.5 MB, free: 1.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001144/0.1103, allocations: 335.1 kB / 408.9 MB, free: 1.648 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/0.1114, allocations: 461.9 kB / 409.3 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008763/0.1122, allocations: 407.7 kB / 409.7 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1122, allocations: 4.312 kB / 409.7 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.1126, allocations: 190.7 kB / 409.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.1134, allocations: 138.9 kB / 410 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1347/0.2481, allocations: 1.132 MB / 411.2 MB, free: 62.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.2484, allocations: 292.5 kB / 411.5 MB, free: 62.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004857/0.2489, allocations: 113.9 kB / 411.6 MB, free: 62.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.2491, allocations: 76.53 kB / 411.6 MB, free: 62.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.402e-06/0.2491, allocations: 0 / 411.6 MB, free: 62.11 MB / 330.7 MB Notification: Performance of Templates: time 0.01762/0.2667, allocations: 10.17 MB / 421.8 MB, free: 59.62 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.149412313941866]