Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001492/0.001492, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001801/0.001801, allocations: 213.3 kB / 22.24 MB, free: 5.242 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1505/0.1505, allocations: 23.88 MB / 336.3 MB, free: 11.08 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",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.003292/0.003292, allocations: 67.89 kB / 471.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3898, allocations: 59.86 MB / 0.5185 GB, free: 9.465 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.0756/0.4654, allocations: 24.83 MB / 0.5428 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4767, allocations: 7.047 MB / 0.5496 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.4773, allocations: 11.88 kB / 0.5497 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.478, allocations: 185.8 kB / 0.5498 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.4801, allocations: 0.6981 MB / 0.5505 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.4833, allocations: 1.048 MB / 0.5515 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4847, allocations: 0.9323 MB / 0.5525 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.4853, allocations: 426.3 kB / 0.5529 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.4859, allocations: 467.3 kB / 0.5533 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.4866, allocations: 452.9 kB / 0.5537 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.4867, allocations: 80 kB / 0.5538 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.4891, allocations: 0.8215 MB / 0.5546 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.4894, allocations: 194.1 kB / 0.5548 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.4899, allocations: 355.1 kB / 0.5551 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.4947, allocations: 1.812 MB / 0.5569 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4947, allocations: 7.938 kB / 0.5569 GB, free: 2.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4947, allocations: 0 / 0.5569 GB, free: 2.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4947, allocations: 0 / 0.5569 GB, free: 2.023 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.002482/0.4972, allocations: 1.112 MB / 0.558 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4972, allocations: 12.69 kB / 0.558 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.4974, allocations: 106.6 kB / 0.5581 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.4981, allocations: 162.1 kB / 0.5583 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/0.499, allocations: 418.3 kB / 0.5587 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.4992, allocations: 110.9 kB / 0.5588 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.4993, allocations: 73.03 kB / 0.5588 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5009, allocations: 0.7765 MB / 0.5596 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5009, allocations: 0 / 0.5596 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.501, allocations: 27.98 kB / 0.5596 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.501, allocations: 16 kB / 0.5596 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.5026, allocations: 0.8769 MB / 0.5605 GB, free: 14.71 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.004455/0.5071, allocations: 2.081 MB / 0.5625 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.5087, allocations: 0.8115 MB / 0.5633 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.5092, allocations: 271.2 kB / 0.5636 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003553/0.5127, allocations: 1.512 MB / 0.5651 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5128, allocations: 42.55 kB / 0.5651 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.073e-06/0.5128, allocations: 0 / 0.5651 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002662/0.5154, allocations: 1.17 MB / 0.5662 GB, free: 8.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.5155, allocations: 55.41 kB / 0.5663 GB, free: 8.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.5161, allocations: 437.6 kB / 0.5667 GB, free: 8.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.5161, allocations: 29.7 kB / 0.5667 GB, free: 8.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.5164, allocations: 376.1 kB / 0.5671 GB, free: 7.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5166, allocations: 174.5 kB / 0.5673 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.5168, allocations: 126.6 kB / 0.5674 GB, free: 7.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.517, allocations: 358.8 kB / 0.5677 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.5173, allocations: 149.9 kB / 0.5679 GB, free: 7.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.5178, allocations: 388.3 kB / 0.5682 GB, free: 6.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009458/0.5187, allocations: 0.5709 MB / 0.5688 GB, free: 5.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5187, allocations: 4 kB / 0.5688 GB, free: 5.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001109/0.5198, allocations: 0.617 MB / 0.5694 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.5199, allocations: 15.94 kB / 0.5694 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5199, allocations: 11.94 kB / 0.5694 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.5199, allocations: 15.98 kB / 0.5695 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.5207, allocations: 195.7 kB / 0.5696 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.517e-05/0.5207, allocations: 24.11 kB / 0.5697 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.521, allocations: 24 kB / 0.5697 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.521, allocations: 32 kB / 0.5697 GB, free: 5.051 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.000305/0.5213, allocations: 205.6 kB / 0.5699 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.5214, allocations: 59.56 kB / 0.57 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.5225, allocations: 0.4936 MB / 0.5704 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5225, allocations: 7.984 kB / 0.5705 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5225, allocations: 0 / 0.5705 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.5225, allocations: 0 / 0.5705 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.5234, allocations: 0.5527 MB / 0.571 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5234, allocations: 4 kB / 0.571 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.524, allocations: 143.8 kB / 0.5711 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.524, allocations: 7.938 kB / 0.5711 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.5241, allocations: 16 kB / 0.5712 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.5241, allocations: 4 kB / 0.5712 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5241, allocations: 4.094 kB / 0.5712 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5252, allocations: 0.7264 MB / 0.5719 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.5255, allocations: 83.62 kB / 0.572 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.5255, allocations: 19.92 kB / 0.572 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.5257, allocations: 12 kB / 0.572 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.5258, allocations: 36.38 kB / 0.572 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5259, allocations: 20 kB / 0.572 GB, free: 2.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00035/0.5262, allocations: 275.1 kB / 0.5723 GB, free: 2.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5262, allocations: 0 / 0.5723 GB, free: 2.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00116/0.5274, allocations: 335.1 kB / 0.5726 GB, free: 1.969 MB / 414.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.002226/0.5296, allocations: 1.606 MB / 0.5742 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007688/0.5304, allocations: 410.7 kB / 0.5746 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.5304, allocations: 8.062 kB / 0.5746 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.5307, allocations: 186.4 kB / 0.5748 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.5314, allocations: 136.8 kB / 0.5749 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.5382, allocations: 4.817 MB / 0.5796 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.5386, allocations: 292.1 kB / 0.5799 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004361/0.539, allocations: 124.5 kB / 0.58 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.5394, allocations: 251.3 kB / 0.5802 GB, free: 9.793 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5394, allocations: 0 / 0.5802 GB, free: 9.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07509/0.6145, allocations: 16.51 MB / 0.5964 GB, free: 9.477 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.4, allocations: 7.984 kB / 0.5964 GB, free: 9.469 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.377611425239593] Failed to read output from testmodel.py, exit status != 0: 12.516942012589425 12.543139495 12.043416035 Calling exit ...