Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.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.0006949/0.0006949, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007203/0.0007203, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.8733/0.8733, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08252/0.08252, allocations: 17.45 MB / 276.6 MB, free: 11.77 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.816e-05, allocations: 3.438 kB / 411.6 MB, free: 12.45 MB / 330.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.SimpleReaction2): time 0.02229/0.02231, allocations: 25.78 MB / 437.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00901/0.03132, allocations: 10.26 MB / 447.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000716/0.03204, allocations: 15.88 kB / 447.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.03267, allocations: 237.3 kB / 447.9 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.03501, allocations: 1.04 MB / 448.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.03806, allocations: 1.575 MB / 450.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.03925, allocations: 1.298 MB / 451.8 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.03976, allocations: 0.5687 MB / 452.4 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.04061, allocations: 0.8469 MB / 453.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.04111, allocations: 0.5475 MB / 453.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.101e-05/0.0412, allocations: 108 kB / 453.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.04334, allocations: 1.232 MB / 455.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.0435, allocations: 267.1 kB / 455.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.04374, allocations: 403.1 kB / 455.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.04613, allocations: 2.74 MB / 458.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.04613, allocations: 0 / 458.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.04613, allocations: 3.938 kB / 458.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.04614, allocations: 0 / 458.5 MB, free: 11.05 MB / 362.7 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.001531/0.04767, allocations: 1.438 MB / 459.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.04771, allocations: 8.031 kB / 459.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.04783, allocations: 139.7 kB / 460.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007819/0.04861, allocations: 215.9 kB / 460.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.04921, allocations: 0.5185 MB / 460.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.04931, allocations: 122 kB / 460.9 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.04942, allocations: 92.33 kB / 461 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.05049, allocations: 1.053 MB / 462.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.0505, allocations: 192 / 462.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.05056, allocations: 39.94 kB / 462.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.05057, allocations: 20 kB / 462.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.05183, allocations: 1.261 MB / 463.4 MB, free: 6.051 MB / 362.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.003089/0.05492, allocations: 2.811 MB / 466.2 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.05662, allocations: 1.235 MB / 467.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.05703, allocations: 403.6 kB / 467.8 MB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.06005, allocations: 2.081 MB / 469.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.06007, allocations: 39.06 kB / 469.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 2.985e-06/0.06008, allocations: 4 kB / 469.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002108/0.06218, allocations: 1.596 MB / 471.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.06222, allocations: 60 kB / 471.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.06265, allocations: 0.5378 MB / 472.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.06267, allocations: 33.7 kB / 472.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.06288, allocations: 471.8 kB / 472.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.063, allocations: 234 kB / 472.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.06314, allocations: 174.5 kB / 473 MB, free: 12.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.06325, allocations: 374.8 kB / 473.4 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.06348, allocations: 209.8 kB / 473.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.06387, allocations: 0.5337 MB / 474.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.06486, allocations: 0.8143 MB / 474.9 MB, free: 9.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.06486, allocations: 0 / 474.9 MB, free: 9.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008565/0.06572, allocations: 0.8636 MB / 475.8 MB, free: 9.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.06574, allocations: 8 kB / 475.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.06575, allocations: 12.84 kB / 475.8 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.06577, allocations: 16 kB / 475.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.06628, allocations: 267.6 kB / 476.1 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.0663, allocations: 27.86 kB / 476.1 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.06654, allocations: 28 kB / 476.2 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.06659, allocations: 51.98 kB / 476.2 MB, free: 8.699 MB / 378.7 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.0002423/0.06683, allocations: 233.5 kB / 476.4 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.0669, allocations: 67.53 kB / 476.5 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008079/0.06771, allocations: 0.6914 MB / 477.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.06771, allocations: 8 kB / 477.2 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.06772, allocations: 3.938 kB / 477.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.06772, allocations: 3.984 kB / 477.2 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.06838, allocations: 0.6777 MB / 477.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.06838, allocations: 0 / 477.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.06876, allocations: 175.8 kB / 478.1 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.06877, allocations: 4 kB / 478.1 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.06879, allocations: 20 kB / 478.1 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.0688, allocations: 4 kB / 478.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.0688, allocations: 12 kB / 478.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.06968, allocations: 0.9529 MB / 479.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.06984, allocations: 115.5 kB / 479.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.06989, allocations: 15.98 kB / 479.2 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.07003, allocations: 12 kB / 479.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.0701, allocations: 56.5 kB / 479.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.07013, allocations: 24 kB / 479.3 MB, free: 5.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.07037, allocations: 346.8 kB / 479.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07037, allocations: 0 / 479.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008652/0.07124, allocations: 490.6 kB / 480.1 MB, free: 4.707 MB / 378.7 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.001912/0.07315, allocations: 2.012 MB / 482.1 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.07375, allocations: 0.5702 MB / 482.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.07375, allocations: 0 / 482.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.07398, allocations: 263.6 kB / 482.9 MB, free: 1.828 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.07449, allocations: 154.4 kB / 483.1 MB, free: 1.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.07966, allocations: 6.057 MB / 489.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.07989, allocations: 365.5 kB / 489.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.08025, allocations: 173.4 kB / 489.7 MB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.08055, allocations: 348.4 kB / 490 MB, free: 10.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.08056, allocations: 0 / 490 MB, free: 10.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.111, allocations: 22.35 MB / 0.5003 GB, free: 4.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.688, allocations: 0 / 0.5003 GB, free: 4.16 MB / 410.7 MB " [Timeout remaining time 653] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.54836698062718] Failed to read output from testmodel.py, exit status != 0: 6.919889544136822 6.784938052 6.737147417 Calling exit ...