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.001315/0.001315, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001595/0.001595, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.1748/0.1748, allocations: 23.85 MB / 337.1 MB, free: 11.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="cs",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.002004/0.002004, allocations: 67.89 kB / 471.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3633, allocations: 59.86 MB / 0.5193 GB, free: 9.621 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.04455/0.4078, allocations: 25.68 MB / 0.5444 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.4246, allocations: 11.71 MB / 0.5559 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.4258, allocations: 19.81 kB / 0.5559 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.4268, allocations: 263.7 kB / 0.5561 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.4308, allocations: 0.9978 MB / 0.5571 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00596/0.4368, allocations: 1.533 MB / 0.5586 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.4396, allocations: 1.254 MB / 0.5598 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.4407, allocations: 0.5809 MB / 0.5604 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009758/0.4417, allocations: 0.6188 MB / 0.561 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.4429, allocations: 0.6788 MB / 0.5617 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.4431, allocations: 104 kB / 0.5618 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004834/0.4479, allocations: 1.3 MB / 0.563 GB, free: 13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.4483, allocations: 263.1 kB / 0.5633 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008405/0.4492, allocations: 0.5533 MB / 0.5638 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007826/0.457, allocations: 2.587 MB / 0.5663 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.457, allocations: 0 / 0.5663 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.457, allocations: 0 / 0.5663 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.457, allocations: 0 / 0.5663 GB, free: 10.02 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.003453/0.4605, allocations: 1.454 MB / 0.5678 GB, free: 8.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4605, allocations: 12.03 kB / 0.5678 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.532e-05/0.4606, allocations: 22.19 kB / 0.5678 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.4608, allocations: 147.6 kB / 0.5679 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4618, allocations: 215.9 kB / 0.5681 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.4629, allocations: 0.5115 MB / 0.5686 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.463, allocations: 122 kB / 0.5688 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.4632, allocations: 96.11 kB / 0.5688 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.465, allocations: 1.041 MB / 0.5699 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.465, allocations: 4 kB / 0.5699 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.4651, allocations: 32 kB / 0.5699 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.4652, allocations: 28 kB / 0.5699 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.4673, allocations: 1.273 MB / 0.5712 GB, free: 4.977 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.005855/0.4732, allocations: 3.444 MB / 0.5745 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.4755, allocations: 1.254 MB / 0.5758 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006804/0.4762, allocations: 395.8 kB / 0.5761 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004855/0.4811, allocations: 2.201 MB / 0.5783 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.4811, allocations: 39.06 kB / 0.5783 GB, free: 13.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.084e-06/0.4811, allocations: 0 / 0.5783 GB, free: 13.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.003537/0.4847, allocations: 1.6 MB / 0.5799 GB, free: 11.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.4847, allocations: 60.06 kB / 0.5799 GB, free: 11.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.4854, allocations: 0.5107 MB / 0.5804 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.4854, allocations: 33.7 kB / 0.5805 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.4858, allocations: 475.7 kB / 0.5809 GB, free: 10.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.486, allocations: 246 kB / 0.5812 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.4862, allocations: 166.6 kB / 0.5813 GB, free: 10.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.4864, allocations: 378.8 kB / 0.5817 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.4868, allocations: 209.9 kB / 0.5819 GB, free: 9.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.4875, allocations: 0.5296 MB / 0.5824 GB, free: 9.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.4888, allocations: 0.8182 MB / 0.5832 GB, free: 8.051 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.4888, allocations: 8 kB / 0.5832 GB, free: 8.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001559/0.4903, allocations: 0.8527 MB / 0.584 GB, free: 7.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4904, allocations: 19.88 kB / 0.5841 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.4904, allocations: 8 kB / 0.5841 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.4904, allocations: 16 kB / 0.5841 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4914, allocations: 267.6 kB / 0.5843 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.408e-05/0.4915, allocations: 27.91 kB / 0.5844 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.492, allocations: 32.09 kB / 0.5844 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.4921, allocations: 48 kB / 0.5844 GB, free: 6.773 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.0004691/0.4926, allocations: 234 kB / 0.5847 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4927, allocations: 71.52 kB / 0.5847 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.4942, allocations: 0.6991 MB / 0.5854 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.4942, allocations: 11.94 kB / 0.5854 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4942, allocations: 0 / 0.5854 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4942, allocations: 3.984 kB / 0.5854 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.4955, allocations: 0.7323 MB / 0.5861 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4955, allocations: 8 kB / 0.5861 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/0.4963, allocations: 175.9 kB / 0.5863 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.4963, allocations: 7.938 kB / 0.5863 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.4963, allocations: 20 kB / 0.5863 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.719e-06/0.4963, allocations: 7.984 kB / 0.5864 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4963, allocations: 0 / 0.5864 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.498, allocations: 0.9568 MB / 0.5873 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.4983, allocations: 115.5 kB / 0.5874 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4984, allocations: 19.94 kB / 0.5874 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.4987, allocations: 12 kB / 0.5874 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.4989, allocations: 68.44 kB / 0.5875 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.4989, allocations: 20 kB / 0.5875 GB, free: 3.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005618/0.4995, allocations: 342.8 kB / 0.5878 GB, free: 3.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4995, allocations: 4 kB / 0.5878 GB, free: 3.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002188/0.5017, allocations: 482.6 kB / 0.5883 GB, free: 2.711 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.003434/0.5051, allocations: 1.992 MB / 0.5902 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.5062, allocations: 0.5729 MB / 0.5908 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5063, allocations: 0 / 0.5908 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.5067, allocations: 257.2 kB / 0.5911 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009097/0.5076, allocations: 161.3 kB / 0.5912 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.5179, allocations: 6.143 MB / 0.5972 GB, free: 9.145 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009322/0.5188, allocations: 0.9578 MB / 0.5981 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009005/0.5197, allocations: 169.4 kB / 0.5983 GB, free: 7.988 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/0.5204, allocations: 343.3 kB / 0.5986 GB, free: 7.652 MB / 446.1 MB Notification: Performance of SimCode: time 2.104e-06/0.5204, allocations: 4 kB / 0.5986 GB, free: 7.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0604/0.5808, allocations: 21.8 MB / 0.6199 GB, free: 2.027 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.39, allocations: 4.062 kB / 0.6199 GB, free: 2.023 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.444895087974146] Failed to read output from testmodel.py, exit status != 0: 13.567208322929218 13.583945102 13.123650443 Calling exit ...