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.002087/0.002087, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002329/0.002329, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.582/1.582, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.1515/0.1515, allocations: 23.89 MB / 332.7 MB, free: 12.35 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: 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: 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.003169/0.003169, allocations: 75.89 kB / 466.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4505, allocations: 59.82 MB / 0.514 GB, free: 9.113 MB / 382.1 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.04097/0.4915, allocations: 25.07 MB / 0.5385 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.5036, allocations: 8.023 MB / 0.5463 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.5044, allocations: 15.88 kB / 0.5463 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.5051, allocations: 185.9 kB / 0.5465 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.5073, allocations: 0.6983 MB / 0.5472 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.5108, allocations: 1.034 MB / 0.5482 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.5124, allocations: 0.937 MB / 0.5491 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007606/0.5132, allocations: 436.1 kB / 0.5495 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.5138, allocations: 472.9 kB / 0.55 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.5145, allocations: 0.4975 MB / 0.5505 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.5146, allocations: 80 kB / 0.5506 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.5174, allocations: 0.8692 MB / 0.5514 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.5177, allocations: 194.2 kB / 0.5516 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.5182, allocations: 419.6 kB / 0.552 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003363/0.5216, allocations: 1.819 MB / 0.5538 GB, free: 1.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.5216, allocations: 8 kB / 0.5538 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5216, allocations: 0 / 0.5538 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.5216, allocations: 3.938 kB / 0.5538 GB, free: 1.59 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002248/0.5239, allocations: 1.184 MB / 0.5549 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5239, allocations: 15.97 kB / 0.555 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.5246, allocations: 154.8 kB / 0.5551 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/0.5254, allocations: 487.8 kB / 0.5556 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.5256, allocations: 84.88 kB / 0.5556 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.5257, allocations: 73.08 kB / 0.5557 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.5271, allocations: 0.7757 MB / 0.5565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5271, allocations: 0 / 0.5565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.5272, allocations: 24.56 kB / 0.5565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.5272, allocations: 16 kB / 0.5565 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.5288, allocations: 0.8815 MB / 0.5574 GB, free: 14.25 MB / 414.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.004548/0.5334, allocations: 2.571 MB / 0.5599 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.5351, allocations: 0.9628 MB / 0.5608 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.5356, allocations: 282.3 kB / 0.5611 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004252/0.5398, allocations: 2.852 MB / 0.5639 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5399, allocations: 34.56 kB / 0.5639 GB, free: 7.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.5399, allocations: 0 / 0.5639 GB, free: 7.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.00264/0.5425, allocations: 1.253 MB / 0.5651 GB, free: 6.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5426, allocations: 55.41 kB / 0.5652 GB, free: 6.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.5431, allocations: 421.7 kB / 0.5656 GB, free: 5.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.5431, allocations: 37.7 kB / 0.5656 GB, free: 5.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.5434, allocations: 372.2 kB / 0.566 GB, free: 5.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.5436, allocations: 166.6 kB / 0.5661 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.5437, allocations: 134.6 kB / 0.5663 GB, free: 4.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.544, allocations: 362.8 kB / 0.5666 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.5443, allocations: 141.9 kB / 0.5667 GB, free: 4.461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.5448, allocations: 396.3 kB / 0.5671 GB, free: 3.969 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.5456, allocations: 0.5748 MB / 0.5677 GB, free: 3.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5456, allocations: 4 kB / 0.5677 GB, free: 3.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001047/0.5467, allocations: 0.6132 MB / 0.5683 GB, free: 2.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5467, allocations: 12.03 kB / 0.5683 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5467, allocations: 11.94 kB / 0.5683 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.5468, allocations: 12 kB / 0.5683 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.5475, allocations: 203.7 kB / 0.5685 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.5475, allocations: 15.94 kB / 0.5685 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.5479, allocations: 24 kB / 0.5686 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.5479, allocations: 39.98 kB / 0.5686 GB, free: 2.348 MB / 414.1 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.0003129/0.5482, allocations: 201.5 kB / 0.5688 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.5483, allocations: 51.67 kB / 0.5688 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.5494, allocations: 0.5013 MB / 0.5693 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.5494, allocations: 4 kB / 0.5693 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5494, allocations: 4 kB / 0.5693 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.5494, allocations: 0 / 0.5693 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009544/0.5503, allocations: 0.6276 MB / 0.5699 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5503, allocations: 0 / 0.5699 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006103/0.551, allocations: 139.9 kB / 0.5701 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.551, allocations: 3.984 kB / 0.5701 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.551, allocations: 20.06 kB / 0.5701 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.551, allocations: 8 kB / 0.5701 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.551, allocations: 7.875 kB / 0.5701 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.5522, allocations: 0.719 MB / 0.5708 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.5524, allocations: 164.8 kB / 0.571 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.5525, allocations: 15.94 kB / 0.571 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.5527, allocations: 12 kB / 0.571 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.5528, allocations: 36.33 kB / 0.571 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.5528, allocations: 27.98 kB / 0.5711 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003225/0.5531, allocations: 275.1 kB / 0.5713 GB, free: 15.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5531, allocations: 0 / 0.5713 GB, free: 15.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0011/0.5542, allocations: 335.1 kB / 0.5716 GB, free: 15.09 MB / 430.1 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.0008947/0.5551, allocations: 438.5 kB / 0.5721 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008334/0.556, allocations: 418.5 kB / 0.5725 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.556, allocations: 192 / 0.5725 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.5563, allocations: 186.4 kB / 0.5726 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.557, allocations: 149.1 kB / 0.5728 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.5591, allocations: 1.197 MB / 0.574 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/0.5597, allocations: 0.8939 MB / 0.5748 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004009/0.5601, allocations: 108.5 kB / 0.5749 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.5603, allocations: 75.41 kB / 0.575 GB, free: 11.58 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5603, allocations: 0 / 0.575 GB, free: 11.58 MB / 430.1 MB Notification: Performance of Templates: time 0.01936/0.5797, allocations: 10.35 MB / 0.5851 GB, free: 1.273 MB / 430.1 MB " [Timeout remaining time 659] 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.696674223057926] Failed to read output from testmodel.py, exit status != 0: 0.5895137470215559 0.6020413950000001 0.077389254 Calling exit ...