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.001585/0.001585, 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.001766/0.001766, allocations: 214.2 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.793 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.1343/0.1343, allocations: 23.93 MB / 336.4 MB, free: 10.93 MB / 270.1 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: 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.001928/0.001928, allocations: 71.89 kB / 471.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2998, allocations: 59.87 MB / 0.5186 GB, free: 9.508 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.SimpleReaction2): time 0.07395/0.3738, allocations: 25.4 MB / 0.5434 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.3883, allocations: 10.26 MB / 0.5534 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.3891, allocations: 19.81 kB / 0.5534 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.3899, allocations: 246.6 kB / 0.5537 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.3924, allocations: 0.9919 MB / 0.5546 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.3963, allocations: 1.529 MB / 0.5561 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.3979, allocations: 1.259 MB / 0.5574 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.3987, allocations: 0.5694 MB / 0.5579 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006834/0.3994, allocations: 0.62 MB / 0.5585 GB, free: 324 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009855/0.4003, allocations: 0.6746 MB / 0.5592 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.4005, allocations: 108 kB / 0.5593 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.4036, allocations: 1.255 MB / 0.5605 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.4039, allocations: 266.9 kB / 0.5608 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000511/0.4044, allocations: 471.6 kB / 0.5612 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004661/0.409, allocations: 2.588 MB / 0.5637 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.409, allocations: 0 / 0.5637 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.409, allocations: 0 / 0.5637 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.4091, allocations: 3.938 kB / 0.5638 GB, free: 11.62 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.002886/0.4119, allocations: 1.442 MB / 0.5652 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.412, allocations: 12.03 kB / 0.5652 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.4122, allocations: 135.7 kB / 0.5653 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009551/0.4131, allocations: 219.9 kB / 0.5655 GB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.4141, allocations: 0.5192 MB / 0.566 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4142, allocations: 126 kB / 0.5661 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.4144, allocations: 92.31 kB / 0.5662 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.4162, allocations: 1.045 MB / 0.5672 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.4162, allocations: 3.984 kB / 0.5673 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/0.4163, allocations: 36 kB / 0.5673 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.4163, allocations: 27.94 kB / 0.5673 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.4184, allocations: 1.253 MB / 0.5685 GB, free: 6.621 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.005173/0.4235, allocations: 2.826 MB / 0.5713 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.4258, allocations: 1.231 MB / 0.5725 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.4264, allocations: 399.6 kB / 0.5729 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004612/0.431, allocations: 2.084 MB / 0.5749 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4311, allocations: 35.06 kB / 0.5749 GB, free: 15.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.4311, allocations: 3.938 kB / 0.575 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003155/0.4342, allocations: 1.596 MB / 0.5765 GB, free: 14.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.4343, allocations: 60.06 kB / 0.5766 GB, free: 14.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.4348, allocations: 0.53 MB / 0.5771 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.4349, allocations: 37.7 kB / 0.5771 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.4352, allocations: 483.7 kB / 0.5776 GB, free: 13.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.4354, allocations: 238 kB / 0.5778 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.4356, allocations: 170.6 kB / 0.578 GB, free: 12.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4358, allocations: 374.8 kB / 0.5783 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.4362, allocations: 205.9 kB / 0.5785 GB, free: 12.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.4368, allocations: 0.5412 MB / 0.5791 GB, free: 11.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.4379, allocations: 0.8104 MB / 0.5798 GB, free: 10.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4379, allocations: 4 kB / 0.5798 GB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00135/0.4392, allocations: 0.8599 MB / 0.5807 GB, free: 9.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4393, allocations: 8 kB / 0.5807 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.4393, allocations: 15.94 kB / 0.5807 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.4393, allocations: 16 kB / 0.5807 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/0.4403, allocations: 268.2 kB / 0.581 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.4403, allocations: 19.94 kB / 0.581 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.4407, allocations: 31.98 kB / 0.581 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.4408, allocations: 48 kB / 0.5811 GB, free: 9.254 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.0003045/0.4411, allocations: 233.5 kB / 0.5813 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4412, allocations: 67.58 kB / 0.5814 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.4425, allocations: 0.6991 MB / 0.582 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4425, allocations: 4 kB / 0.5821 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4425, allocations: 4 kB / 0.5821 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4425, allocations: 3.984 kB / 0.5821 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.4435, allocations: 0.6738 MB / 0.5827 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4435, allocations: 128 / 0.5827 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.4443, allocations: 179.8 kB / 0.5829 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.4443, allocations: 4 kB / 0.5829 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.4443, allocations: 27.92 kB / 0.5829 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.4443, allocations: 4 kB / 0.5829 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4443, allocations: 0 / 0.5829 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.4458, allocations: 0.9568 MB / 0.5839 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.446, allocations: 115.5 kB / 0.584 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.15e-05/0.4461, allocations: 23.94 kB / 0.584 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.4464, allocations: 12 kB / 0.584 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.4465, allocations: 52.56 kB / 0.5841 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.4466, allocations: 31.92 kB / 0.5841 GB, free: 6.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003715/0.4469, allocations: 338.9 kB / 0.5844 GB, free: 5.742 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4469, allocations: 0 / 0.5844 GB, free: 5.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001244/0.4482, allocations: 490.6 kB / 0.5849 GB, free: 5.262 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.002632/0.4508, allocations: 1.992 MB / 0.5868 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009676/0.4518, allocations: 0.5701 MB / 0.5874 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4518, allocations: 4 kB / 0.5874 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.4522, allocations: 263.8 kB / 0.5876 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.453, allocations: 161.9 kB / 0.5878 GB, free: 2.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.4608, allocations: 6.143 MB / 0.5938 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4611, allocations: 369.5 kB / 0.5941 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005259/0.4617, allocations: 161.5 kB / 0.5943 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.4621, allocations: 347.3 kB / 0.5946 GB, free: 10.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4621, allocations: 0 / 0.5946 GB, free: 10.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.5155, allocations: 22.48 MB / 0.6166 GB, free: 4.543 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.51, allocations: 14.19 kB / 0.6166 GB, free: 4.535 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.074782581010368] Failed to read output from testmodel.py, exit status != 0: 11.624820990022272 11.639920565 11.227872706 Calling exit ...