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.002068/0.002068, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002167/0.002167, allocations: 213.5 kB / 22.25 MB, free: 5.121 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.992 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.1633/0.1633, allocations: 23.84 MB / 336.3 MB, free: 11.21 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.002054/0.002054, allocations: 71.89 kB / 471.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4736, allocations: 59.86 MB / 0.5186 GB, free: 9.613 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.05224/0.5258, allocations: 25.04 MB / 0.543 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.5391, allocations: 8.043 MB / 0.5509 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5403, allocations: 15.88 kB / 0.5509 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.5411, allocations: 189.9 kB / 0.5511 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.5436, allocations: 0.7022 MB / 0.5518 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.5472, allocations: 1.051 MB / 0.5528 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.549, allocations: 0.9346 MB / 0.5537 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007026/0.5497, allocations: 439.1 kB / 0.5541 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.5502, allocations: 463.9 kB / 0.5546 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008423/0.5511, allocations: 0.4969 MB / 0.555 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.5512, allocations: 80 kB / 0.5551 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.5545, allocations: 0.8698 MB / 0.556 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.5548, allocations: 194.3 kB / 0.5562 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.5554, allocations: 426.8 kB / 0.5566 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.5605, allocations: 1.812 MB / 0.5583 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5605, allocations: 4 kB / 0.5583 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5605, allocations: 3.938 kB / 0.5583 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.5605, allocations: 0 / 0.5583 GB, free: 0.8164 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.002552/0.5631, allocations: 1.119 MB / 0.5594 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5631, allocations: 8.031 kB / 0.5594 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.5633, allocations: 110.6 kB / 0.5595 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/0.564, allocations: 162.3 kB / 0.5597 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.5649, allocations: 418.7 kB / 0.5601 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.5651, allocations: 106.6 kB / 0.5602 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.5652, allocations: 85 kB / 0.5603 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.5667, allocations: 0.7722 MB / 0.561 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.5667, allocations: 3.984 kB / 0.561 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.5668, allocations: 28 kB / 0.5611 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.5668, allocations: 16 kB / 0.5611 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.5685, allocations: 0.8812 MB / 0.5619 GB, free: 13.49 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.004685/0.5731, allocations: 2.527 MB / 0.5644 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5747, allocations: 0.824 MB / 0.5652 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000471/0.5752, allocations: 283.2 kB / 0.5655 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00376/0.579, allocations: 1.586 MB / 0.567 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.579, allocations: 34.56 kB / 0.5671 GB, free: 8.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.154e-06/0.579, allocations: 0 / 0.5671 GB, free: 8.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002811/0.5818, allocations: 1.17 MB / 0.5682 GB, free: 7.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.5819, allocations: 59.41 kB / 0.5683 GB, free: 6.965 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.5824, allocations: 421.7 kB / 0.5687 GB, free: 6.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.5825, allocations: 33.7 kB / 0.5687 GB, free: 6.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.5828, allocations: 380.2 kB / 0.5691 GB, free: 6.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.583, allocations: 174.5 kB / 0.5692 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.5832, allocations: 130.6 kB / 0.5694 GB, free: 5.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.5835, allocations: 358.8 kB / 0.5697 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.5839, allocations: 149.9 kB / 0.5698 GB, free: 5.312 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/0.5845, allocations: 392.3 kB / 0.5702 GB, free: 4.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5856, allocations: 0.5709 MB / 0.5708 GB, free: 4.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5857, allocations: 4 kB / 0.5708 GB, free: 4.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001117/0.5868, allocations: 0.6172 MB / 0.5714 GB, free: 3.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5868, allocations: 15.94 kB / 0.5714 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5868, allocations: 8 kB / 0.5714 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.5868, allocations: 8 kB / 0.5714 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.5876, allocations: 203.7 kB / 0.5716 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/0.5876, allocations: 15.94 kB / 0.5716 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.5879, allocations: 27.98 kB / 0.5716 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.588, allocations: 36 kB / 0.5717 GB, free: 3.211 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.0003469/0.5883, allocations: 205.6 kB / 0.5719 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.5884, allocations: 55.61 kB / 0.5719 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5894, allocations: 0.4896 MB / 0.5724 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5895, allocations: 8 kB / 0.5724 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5895, allocations: 0 / 0.5724 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5895, allocations: 7.969 kB / 0.5724 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009219/0.5904, allocations: 0.5994 MB / 0.573 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5904, allocations: 4 kB / 0.573 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.591, allocations: 139.9 kB / 0.5731 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.591, allocations: 7.938 kB / 0.5731 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.591, allocations: 12.12 kB / 0.5732 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.591, allocations: 8 kB / 0.5732 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.591, allocations: 3.938 kB / 0.5732 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.5922, allocations: 0.7264 MB / 0.5739 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.5924, allocations: 83.67 kB / 0.574 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.916e-05/0.5924, allocations: 15.94 kB / 0.574 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.5926, allocations: 11.98 kB / 0.574 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.5927, allocations: 36.38 kB / 0.574 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5928, allocations: 20 kB / 0.574 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.5931, allocations: 279.1 kB / 0.5743 GB, free: 424 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5931, allocations: 0 / 0.5743 GB, free: 424 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001138/0.5943, allocations: 339 kB / 0.5746 GB, free: 84 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.002241/0.5965, allocations: 1.59 MB / 0.5762 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.5974, allocations: 422.4 kB / 0.5766 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5974, allocations: 0 / 0.5766 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.5977, allocations: 186.9 kB / 0.5768 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.5984, allocations: 139 kB / 0.5769 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/0.6054, allocations: 4.821 MB / 0.5816 GB, free: 8.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.6061, allocations: 0.8861 MB / 0.5825 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004107/0.6065, allocations: 128.5 kB / 0.5826 GB, free: 7.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.6069, allocations: 247.3 kB / 0.5828 GB, free: 7.312 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6069, allocations: 0 / 0.5828 GB, free: 7.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.6588, allocations: 16.06 MB / 0.5985 GB, free: 7.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.04, allocations: 8.062 kB / 0.5985 GB, free: 7.391 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: 16.044101617997512] Failed to read output from testmodel.py, exit status != 0: 13.1575061888434 13.185595297999999 12.619978633 Calling exit ...