Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001335/0.001335, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001412/0.001412, allocations: 219.2 kB / 22.25 MB, free: 5.258 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.505/1.505, 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.1518/0.1518, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",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.002075/0.002075, allocations: 67.89 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4095, allocations: 59.85 MB / 0.5185 GB, free: 9.535 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.SimpleReaction2): time 0.07217/0.4817, allocations: 25.41 MB / 0.5433 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.4973, allocations: 10.25 MB / 0.5533 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.4987, allocations: 19.81 kB / 0.5534 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.4997, allocations: 244.2 kB / 0.5536 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.5037, allocations: 0.9939 MB / 0.5546 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005344/0.509, allocations: 1.529 MB / 0.5561 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.5116, allocations: 1.263 MB / 0.5573 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.5126, allocations: 0.5732 MB / 0.5579 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000838/0.5135, allocations: 0.6201 MB / 0.5585 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.5147, allocations: 0.6778 MB / 0.5591 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.5149, allocations: 104 kB / 0.5592 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.5193, allocations: 1.251 MB / 0.5604 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.5197, allocations: 262.9 kB / 0.5607 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006541/0.5203, allocations: 480 kB / 0.5612 GB, free: 14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007398/0.5277, allocations: 2.58 MB / 0.5637 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.5277, allocations: 4 kB / 0.5637 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5277, allocations: 0 / 0.5637 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.5278, allocations: 0 / 0.5637 GB, free: 11.69 MB / 414.1 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.00333/0.5311, allocations: 1.45 MB / 0.5651 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5312, allocations: 8.031 kB / 0.5651 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.5313, allocations: 135.7 kB / 0.5652 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5324, allocations: 223.9 kB / 0.5654 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.5335, allocations: 0.5153 MB / 0.5659 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5336, allocations: 121.9 kB / 0.5661 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.5338, allocations: 100.4 kB / 0.5662 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.5356, allocations: 1.049 MB / 0.5672 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.5357, allocations: 0 / 0.5672 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5358, allocations: 36 kB / 0.5672 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.5358, allocations: 20 kB / 0.5672 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.5379, allocations: 1.261 MB / 0.5685 GB, free: 6.684 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.005548/0.5435, allocations: 2.822 MB / 0.5712 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.5458, allocations: 1.238 MB / 0.5724 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.5464, allocations: 399.6 kB / 0.5728 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005293/0.5517, allocations: 2.069 MB / 0.5748 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.5518, allocations: 43.06 kB / 0.5749 GB, free: 15.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.334e-06/0.5518, allocations: 0 / 0.5749 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003629/0.5554, allocations: 1.603 MB / 0.5764 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.5555, allocations: 60.06 kB / 0.5765 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/0.5561, allocations: 0.53 MB / 0.577 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.5562, allocations: 33.7 kB / 0.577 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.5565, allocations: 483.6 kB / 0.5775 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.5567, allocations: 234 kB / 0.5777 GB, free: 13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.557, allocations: 178.5 kB / 0.5779 GB, free: 12.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.5572, allocations: 374.8 kB / 0.5783 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.5576, allocations: 213.9 kB / 0.5785 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.5582, allocations: 0.5334 MB / 0.579 GB, free: 11.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5594, allocations: 0.8143 MB / 0.5798 GB, free: 10.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5594, allocations: 4 kB / 0.5798 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001457/0.5608, allocations: 0.8562 MB / 0.5806 GB, free: 9.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5608, allocations: 12 kB / 0.5806 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.5609, allocations: 11.94 kB / 0.5806 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.5609, allocations: 19.94 kB / 0.5807 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.5619, allocations: 264.1 kB / 0.5809 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.802e-05/0.5619, allocations: 23.88 kB / 0.5809 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.5624, allocations: 35.98 kB / 0.581 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.5625, allocations: 48 kB / 0.581 GB, free: 9.312 MB / 430.1 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.0003569/0.5629, allocations: 233.5 kB / 0.5812 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.563, allocations: 67.58 kB / 0.5813 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.5643, allocations: 0.6875 MB / 0.582 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5644, allocations: 8 kB / 0.582 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.5644, allocations: 3.984 kB / 0.582 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5644, allocations: 0 / 0.582 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5654, allocations: 0.6777 MB / 0.5826 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5654, allocations: 0 / 0.5826 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/0.5662, allocations: 175.9 kB / 0.5828 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5662, allocations: 4 kB / 0.5828 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.5663, allocations: 31.86 kB / 0.5828 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5663, allocations: 4 kB / 0.5829 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5663, allocations: 4 kB / 0.5829 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5677, allocations: 0.9529 MB / 0.5838 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.568, allocations: 115.5 kB / 0.5839 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.173e-05/0.5681, allocations: 23.94 kB / 0.5839 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.5684, allocations: 12 kB / 0.5839 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5685, allocations: 56.5 kB / 0.584 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.5686, allocations: 31.98 kB / 0.584 GB, free: 6.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.569, allocations: 334.9 kB / 0.5843 GB, free: 5.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.569, allocations: 0 / 0.5843 GB, free: 5.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001583/0.5706, allocations: 490.6 kB / 0.5848 GB, free: 5.328 MB / 430.1 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.003199/0.5738, allocations: 1.992 MB / 0.5867 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.5749, allocations: 0.5734 MB / 0.5873 GB, free: 2.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5749, allocations: 0.875 kB / 0.5873 GB, free: 2.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.5754, allocations: 263.8 kB / 0.5876 GB, free: 2.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.5763, allocations: 161.5 kB / 0.5877 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.5855, allocations: 6.135 MB / 0.5937 GB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5859, allocations: 357.5 kB / 0.594 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006388/0.5865, allocations: 173.4 kB / 0.5942 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.5871, allocations: 355.2 kB / 0.5946 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5871, allocations: 0 / 0.5946 GB, free: 10.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0637/0.6508, allocations: 22.48 MB / 0.6165 GB, free: 4.609 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.5, allocations: 3.984 kB / 0.6165 GB, free: 4.605 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction2_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction2.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.377438820025418] Failed to read output from testmodel.py, exit status != 0: 12.626377933978802 12.648003992 12.116931684 Calling exit ...