Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 103.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003023/0.003023, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09773/0.09773, allocations: 15.54 MB / 318.2 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 72.06 kB / 445.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1575, allocations: 56.54 MB / 0.4902 GB, free: 4.422 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.SimpleReaction2): time 0.583/0.7405, allocations: 25.51 MB / 0.5151 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.014/0.7545, allocations: 11.65 MB / 0.5265 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7556, allocations: 11.5 kB / 0.5265 GB, free: 224 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.7566, allocations: 259.1 kB / 0.5267 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.761, allocations: 0.9977 MB / 0.5277 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006645/0.7677, allocations: 1.515 MB / 0.5292 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.7706, allocations: 1.245 MB / 0.5304 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.7718, allocations: 0.5845 MB / 0.531 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.7729, allocations: 0.6123 MB / 0.5316 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.7743, allocations: 0.6751 MB / 0.5322 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.7745, allocations: 106.2 kB / 0.5323 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007579/0.7821, allocations: 1.3 MB / 0.5336 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.7826, allocations: 264.1 kB / 0.5339 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.7837, allocations: 0.5474 MB / 0.5344 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.7948, allocations: 2.523 MB / 0.5369 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.7948, allocations: 0.7969 kB / 0.5369 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7948, allocations: 4 kB / 0.5369 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.7948, allocations: 0 / 0.5369 GB, free: 11.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004808/0.7996, allocations: 1.516 MB / 0.5383 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.574e-05/0.7997, allocations: 11.66 kB / 0.5383 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.8011, allocations: 214.6 kB / 0.5386 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.8024, allocations: 0.5846 MB / 0.5391 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.8026, allocations: 97.58 kB / 0.5392 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.8028, allocations: 93.03 kB / 0.5393 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.8052, allocations: 1.052 MB / 0.5403 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.8052, allocations: 0 / 0.5403 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.8053, allocations: 36.73 kB / 0.5404 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.8053, allocations: 20.81 kB / 0.5404 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.808, allocations: 1.275 MB / 0.5416 GB, free: 9.277 MB / 398.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.007047/0.815, allocations: 3.47 MB / 0.545 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.8179, allocations: 1.484 MB / 0.5465 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/0.8187, allocations: 397.2 kB / 0.5469 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00695/0.8257, allocations: 4.044 MB / 0.5508 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.8257, allocations: 37.88 kB / 0.5508 GB, free: 1.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 3.015e-06/0.8257, allocations: 0 / 0.5508 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.003677/0.8294, allocations: 1.675 MB / 0.5525 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.8294, allocations: 55.78 kB / 0.5525 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006942/0.8301, allocations: 0.5264 MB / 0.553 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.8302, allocations: 37.27 kB / 0.5531 GB, free: 396 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.8305, allocations: 466.8 kB / 0.5535 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.8308, allocations: 235 kB / 0.5537 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.831, allocations: 177.1 kB / 0.5539 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.8312, allocations: 376.9 kB / 0.5543 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.8316, allocations: 208.8 kB / 0.5545 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.8323, allocations: 0.5367 MB / 0.555 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.8333, allocations: 0.8065 MB / 0.5558 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8333, allocations: 3.375 kB / 0.5558 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00135/0.8347, allocations: 0.8612 MB / 0.5566 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.8347, allocations: 10.75 kB / 0.5566 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.8347, allocations: 10.81 kB / 0.5566 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/0.8348, allocations: 22.16 kB / 0.5567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/0.8358, allocations: 266.9 kB / 0.5569 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.8358, allocations: 21.94 kB / 0.5569 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.8363, allocations: 30.38 kB / 0.557 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.8364, allocations: 51.86 kB / 0.557 GB, free: 13.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0003876/0.8368, allocations: 233 kB / 0.5572 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.8369, allocations: 67.92 kB / 0.5573 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.8381, allocations: 0.6871 MB / 0.558 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.8381, allocations: 11.03 kB / 0.558 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8382, allocations: 0 / 0.558 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/0.8382, allocations: 3.984 kB / 0.558 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8393, allocations: 0.7787 MB / 0.5588 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.8393, allocations: 3.625 kB / 0.5588 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.84, allocations: 172.8 kB / 0.5589 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.8401, allocations: 7.672 kB / 0.5589 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.8401, allocations: 27 kB / 0.559 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.8401, allocations: 7.625 kB / 0.559 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8401, allocations: 3.938 kB / 0.559 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.8415, allocations: 0.9494 MB / 0.5599 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.8418, allocations: 196.6 kB / 0.5601 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.326e-05/0.8419, allocations: 15.5 kB / 0.5601 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.8422, allocations: 15.42 kB / 0.5601 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.8423, allocations: 53.5 kB / 0.5602 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.8423, allocations: 22 kB / 0.5602 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000472/0.8428, allocations: 343.3 kB / 0.5605 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8428, allocations: 0 / 0.5605 GB, free: 11.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001906/0.8447, allocations: 483.7 kB / 0.561 GB, free: 11.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * 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.001398/0.8461, allocations: 0.598 MB / 0.5616 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.8473, allocations: 0.5651 MB / 0.5621 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8473, allocations: 0 / 0.5621 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.8477, allocations: 265.6 kB / 0.5624 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.8486, allocations: 155.2 kB / 0.5625 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.8515, allocations: 1.517 MB / 0.564 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.8522, allocations: 0.9597 MB / 0.5649 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000529/0.8527, allocations: 171.5 kB / 0.5651 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.8529, allocations: 97.83 kB / 0.5652 GB, free: 8.348 MB / 414.1 MB Notification: Performance of SimCode: time 1.863e-06/0.8529, allocations: 0 / 0.5652 GB, free: 8.348 MB / 414.1 MB Notification: Performance of Templates: time 0.02552/0.8784, allocations: 14.25 MB / 0.5791 GB, free: 14.64 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.194480076432228]