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.001811/0.001811, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002115/0.002115, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.785 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.1494/0.1494, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002144/0.002144, allocations: 67.89 kB / 471.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 59.85 MB / 0.5185 GB, free: 9.59 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.07547/0.4477, allocations: 25.53 MB / 0.5435 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.4648, allocations: 10.25 MB / 0.5535 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.4661, allocations: 15.88 kB / 0.5535 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4671, allocations: 237.7 kB / 0.5537 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.4713, allocations: 1.005 MB / 0.5547 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006084/0.4774, allocations: 1.529 MB / 0.5562 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00301/0.4804, allocations: 1.256 MB / 0.5574 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.4816, allocations: 0.5688 MB / 0.558 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.4827, allocations: 0.6199 MB / 0.5586 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.484, allocations: 0.6052 MB / 0.5592 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.4842, allocations: 108 kB / 0.5593 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.489, allocations: 1.216 MB / 0.5604 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.4894, allocations: 266.8 kB / 0.5607 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.4902, allocations: 467.4 kB / 0.5611 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.4975, allocations: 2.59 MB / 0.5637 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4976, allocations: 4 kB / 0.5637 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4976, allocations: 0 / 0.5637 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.4976, allocations: 0 / 0.5637 GB, free: 11.63 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.003231/0.5008, allocations: 1.442 MB / 0.5651 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5009, allocations: 8.031 kB / 0.5651 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.501, allocations: 143.6 kB / 0.5652 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.5021, allocations: 211.9 kB / 0.5654 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5031, allocations: 0.5231 MB / 0.5659 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5033, allocations: 122 kB / 0.5661 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.5035, allocations: 92.36 kB / 0.5662 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.5053, allocations: 1.049 MB / 0.5672 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5053, allocations: 4 kB / 0.5672 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.5054, allocations: 36 kB / 0.5672 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.5055, allocations: 20 kB / 0.5672 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.5076, allocations: 1.261 MB / 0.5685 GB, free: 6.629 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.005934/0.5136, allocations: 2.818 MB / 0.5712 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.516, allocations: 1.242 MB / 0.5724 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.5166, allocations: 399.7 kB / 0.5728 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004941/0.5216, allocations: 2.081 MB / 0.5748 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5216, allocations: 39 kB / 0.5749 GB, free: 15.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.705e-06/0.5216, allocations: 0 / 0.5749 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003521/0.5251, allocations: 1.6 MB / 0.5764 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.5252, allocations: 60.06 kB / 0.5765 GB, free: 14.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.5259, allocations: 0.5222 MB / 0.577 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.5259, allocations: 37.7 kB / 0.577 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.5263, allocations: 479.7 kB / 0.5775 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.5265, allocations: 241.9 kB / 0.5777 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.5267, allocations: 174.6 kB / 0.5779 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.527, allocations: 374.8 kB / 0.5783 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.5274, allocations: 209.9 kB / 0.5785 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.5281, allocations: 0.5335 MB / 0.579 GB, free: 11.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.5293, allocations: 0.8143 MB / 0.5798 GB, free: 10.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.5293, allocations: 7.938 kB / 0.5798 GB, free: 10.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001549/0.5309, allocations: 0.8604 MB / 0.5806 GB, free: 9.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.5309, allocations: 8 kB / 0.5806 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.5309, allocations: 15.94 kB / 0.5806 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.673e-05/0.531, allocations: 16 kB / 0.5807 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.532, allocations: 263.6 kB / 0.5809 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/0.532, allocations: 23.92 kB / 0.5809 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.5325, allocations: 32.12 kB / 0.581 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.5326, allocations: 51.98 kB / 0.581 GB, free: 9.258 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.0003665/0.5329, allocations: 229.5 kB / 0.5812 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.5331, allocations: 67.58 kB / 0.5813 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.5344, allocations: 0.6991 MB / 0.582 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5344, allocations: 4 kB / 0.582 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5344, allocations: 0 / 0.582 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.5344, allocations: 7.984 kB / 0.582 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.5355, allocations: 0.6661 MB / 0.5826 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5355, allocations: 0 / 0.5826 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.5363, allocations: 179.9 kB / 0.5828 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5363, allocations: 4 kB / 0.5828 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.5363, allocations: 19.94 kB / 0.5828 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5363, allocations: 4 kB / 0.5828 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5363, allocations: 4 kB / 0.5828 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.5378, allocations: 0.9529 MB / 0.5838 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.5381, allocations: 123.5 kB / 0.5839 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.5382, allocations: 23.92 kB / 0.5839 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.5385, allocations: 20 kB / 0.5839 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.5386, allocations: 48.56 kB / 0.584 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.5386, allocations: 32 kB / 0.584 GB, free: 6.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.5391, allocations: 342.8 kB / 0.5843 GB, free: 5.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5391, allocations: 0 / 0.5843 GB, free: 5.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001436/0.5405, allocations: 490.6 kB / 0.5848 GB, free: 5.27 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.003043/0.5435, allocations: 1.992 MB / 0.5868 GB, free: 3.234 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.5446, allocations: 0.5684 MB / 0.5873 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5446, allocations: 1.938 kB / 0.5873 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.5451, allocations: 259.6 kB / 0.5876 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.5459, allocations: 157.9 kB / 0.5877 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008633/0.5545, allocations: 6.139 MB / 0.5937 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.555, allocations: 373.5 kB / 0.5941 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006163/0.5556, allocations: 169.4 kB / 0.5942 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.5561, allocations: 339.3 kB / 0.5945 GB, free: 10.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.5561, allocations: 0 / 0.5945 GB, free: 10.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05977/0.6159, allocations: 22.21 MB / 0.6162 GB, free: 4.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.76, allocations: 7.922 kB / 0.6162 GB, free: 4.832 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.670203379821032] Failed to read output from testmodel.py, exit status != 0: 12.880772458855063 12.904127054 12.401979107 Calling exit ...