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.001936/0.001936, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002385/0.002385, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.152/0.152, allocations: 23.88 MB / 337.1 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="cs",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.002226/0.002226, allocations: 67.89 kB / 472 MB, free: 7.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 59.87 MB / 0.5194 GB, free: 9.574 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.03925/0.3822, allocations: 24.87 MB / 0.5437 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3944, allocations: 8.047 MB / 0.5515 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.3951, allocations: 11.88 kB / 0.5515 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.3958, allocations: 193.5 kB / 0.5517 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.3978, allocations: 0.6987 MB / 0.5524 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.4009, allocations: 1.039 MB / 0.5534 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.4025, allocations: 0.9374 MB / 0.5543 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.4031, allocations: 439.9 kB / 0.5548 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006086/0.4037, allocations: 464.3 kB / 0.5552 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.4045, allocations: 0.4975 MB / 0.5557 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.4047, allocations: 80 kB / 0.5558 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.4073, allocations: 0.8731 MB / 0.5566 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.4076, allocations: 193.9 kB / 0.5568 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.4081, allocations: 419 kB / 0.5572 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.4116, allocations: 1.823 MB / 0.559 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4116, allocations: 0.7969 kB / 0.559 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4116, allocations: 0 / 0.559 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.4116, allocations: 0 / 0.559 GB, free: 0.9766 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.002265/0.4139, allocations: 1.116 MB / 0.5601 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4139, allocations: 11.97 kB / 0.5601 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.701e-05/0.414, allocations: 18.19 kB / 0.5601 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.4141, allocations: 114.6 kB / 0.5602 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006979/0.4148, allocations: 154.1 kB / 0.5604 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.4157, allocations: 430.2 kB / 0.5608 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.4158, allocations: 107.2 kB / 0.5609 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.4159, allocations: 76.27 kB / 0.5609 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.4174, allocations: 0.7761 MB / 0.5617 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4174, allocations: 4.688 kB / 0.5617 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.4175, allocations: 28 kB / 0.5617 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.4175, allocations: 20 kB / 0.5617 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.4191, allocations: 0.8813 MB / 0.5626 GB, free: 13.62 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.00445/0.4235, allocations: 2.535 MB / 0.5651 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.4251, allocations: 0.8162 MB / 0.5659 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.4256, allocations: 287.2 kB / 0.5662 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003469/0.4291, allocations: 1.582 MB / 0.5677 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4291, allocations: 38.56 kB / 0.5677 GB, free: 8.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.4291, allocations: 0 / 0.5677 GB, free: 8.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002653/0.4318, allocations: 1.17 MB / 0.5689 GB, free: 7.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.4318, allocations: 59.41 kB / 0.5689 GB, free: 7.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.4323, allocations: 421.7 kB / 0.5693 GB, free: 6.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.4324, allocations: 37.64 kB / 0.5694 GB, free: 6.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.4326, allocations: 380.2 kB / 0.5697 GB, free: 6.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.4328, allocations: 162.6 kB / 0.5699 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.433, allocations: 130.6 kB / 0.57 GB, free: 5.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4332, allocations: 358.8 kB / 0.5704 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.4335, allocations: 153.9 kB / 0.5705 GB, free: 5.469 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.434, allocations: 388.3 kB / 0.5709 GB, free: 4.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.4348, allocations: 0.5748 MB / 0.5714 GB, free: 4.305 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4348, allocations: 4 kB / 0.5714 GB, free: 4.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001068/0.4359, allocations: 0.6163 MB / 0.572 GB, free: 3.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4359, allocations: 11.94 kB / 0.5721 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4359, allocations: 8.906 kB / 0.5721 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.436, allocations: 12 kB / 0.5721 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.4367, allocations: 207.7 kB / 0.5723 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.4367, allocations: 15.94 kB / 0.5723 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.4371, allocations: 16 kB / 0.5723 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/0.4371, allocations: 39.98 kB / 0.5723 GB, free: 3.371 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.0002974/0.4374, allocations: 205.6 kB / 0.5725 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4375, allocations: 59.53 kB / 0.5726 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.4386, allocations: 0.4935 MB / 0.5731 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4386, allocations: 4 kB / 0.5731 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4386, allocations: 0 / 0.5731 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4386, allocations: 3.984 kB / 0.5731 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/0.4395, allocations: 0.5994 MB / 0.5737 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4395, allocations: 8.125 kB / 0.5737 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.4401, allocations: 135.9 kB / 0.5738 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.4401, allocations: 7.938 kB / 0.5738 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.4401, allocations: 16 kB / 0.5738 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4402, allocations: 4 kB / 0.5738 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4402, allocations: 7.938 kB / 0.5738 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.4413, allocations: 0.7264 MB / 0.5745 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.4415, allocations: 79.67 kB / 0.5746 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4416, allocations: 15.94 kB / 0.5746 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.4418, allocations: 15.98 kB / 0.5747 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.4419, allocations: 40.38 kB / 0.5747 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.442, allocations: 20 kB / 0.5747 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.4423, allocations: 275.1 kB / 0.575 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4423, allocations: 0 / 0.575 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001103/0.4434, allocations: 335.1 kB / 0.5753 GB, free: 248 kB / 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.002632/0.446, allocations: 1.594 MB / 0.5768 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008917/0.4469, allocations: 421.3 kB / 0.5773 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4469, allocations: 0 / 0.5773 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.4472, allocations: 183.9 kB / 0.5774 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/0.448, allocations: 143.8 kB / 0.5776 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.4554, allocations: 4.813 MB / 0.5823 GB, free: 8.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/0.4561, allocations: 0.89 MB / 0.5831 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.4566, allocations: 116.5 kB / 0.5832 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.457, allocations: 251.3 kB / 0.5835 GB, free: 7.477 MB / 430.1 MB Notification: Performance of SimCode: time 2.124e-06/0.457, allocations: 0 / 0.5835 GB, free: 7.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.5038, allocations: 16.09 MB / 0.5992 GB, free: 7.547 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.87, allocations: 11.19 kB / 0.5992 GB, free: 7.539 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.88975423690863] Failed to read output from testmodel.py, exit status != 0: 13.068519391003065 13.097434788 12.67985003 Calling exit ...