Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001451/0.001451, allocations: 109.2 kB / 16.46 MB, free: 6.453 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.001561/0.001561, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1399/0.1399, allocations: 23.88 MB / 332.7 MB, free: 12.29 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.SimpleReaction,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_master_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.002137/0.002137, allocations: 71.89 kB / 466 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3659, allocations: 59.83 MB / 0.5135 GB, free: 8.809 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.SimpleReaction): time 0.03893/0.4048, allocations: 25.03 MB / 0.538 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.4167, allocations: 8.023 MB / 0.5458 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/0.4175, allocations: 19.88 kB / 0.5458 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007104/0.4182, allocations: 186.4 kB / 0.546 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.4204, allocations: 0.6941 MB / 0.5467 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.4237, allocations: 1.034 MB / 0.5477 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.4252, allocations: 0.9408 MB / 0.5486 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000679/0.4259, allocations: 443.6 kB / 0.549 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.4265, allocations: 460.9 kB / 0.5495 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.4272, allocations: 0.501 MB / 0.55 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.4273, allocations: 76 kB / 0.55 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.4304, allocations: 0.8741 MB / 0.5509 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.4307, allocations: 193.6 kB / 0.5511 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.4311, allocations: 419.8 kB / 0.5515 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.4347, allocations: 1.815 MB / 0.5533 GB, free: 1.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4347, allocations: 3.938 kB / 0.5533 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4347, allocations: 0 / 0.5533 GB, free: 1.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4347, allocations: 11.94 kB / 0.5533 GB, free: 1.629 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.002378/0.4371, allocations: 1.187 MB / 0.5544 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4371, allocations: 8.031 kB / 0.5544 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.4373, allocations: 114.4 kB / 0.5545 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007786/0.4381, allocations: 154.2 kB / 0.5547 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4392, allocations: 490.7 kB / 0.5552 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.4393, allocations: 85 kB / 0.5552 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4394, allocations: 69.81 kB / 0.5553 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.4411, allocations: 0.7726 MB / 0.5561 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4411, allocations: 4 kB / 0.5561 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.4412, allocations: 28 kB / 0.5561 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4412, allocations: 16 kB / 0.5561 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.4429, allocations: 0.8815 MB / 0.557 GB, free: 14.19 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.004724/0.4476, allocations: 2.575 MB / 0.5595 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.4493, allocations: 0.9629 MB / 0.5604 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.4498, allocations: 282.4 kB / 0.5607 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004132/0.4539, allocations: 2.851 MB / 0.5635 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4539, allocations: 38.56 kB / 0.5635 GB, free: 7.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.4539, allocations: 0 / 0.5635 GB, free: 7.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.0026/0.4565, allocations: 1.23 MB / 0.5647 GB, free: 6.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.4566, allocations: 63.41 kB / 0.5648 GB, free: 6.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.4571, allocations: 413.8 kB / 0.5652 GB, free: 5.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.4571, allocations: 41.64 kB / 0.5652 GB, free: 5.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.4574, allocations: 376.2 kB / 0.5656 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.4576, allocations: 174.5 kB / 0.5657 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.4578, allocations: 122.6 kB / 0.5659 GB, free: 4.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4579, allocations: 362.7 kB / 0.5662 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.4582, allocations: 149.9 kB / 0.5663 GB, free: 4.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.4587, allocations: 392.3 kB / 0.5667 GB, free: 3.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.4595, allocations: 0.5748 MB / 0.5673 GB, free: 3.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4596, allocations: 4 kB / 0.5673 GB, free: 3.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001011/0.4606, allocations: 0.6164 MB / 0.5679 GB, free: 2.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4606, allocations: 8 kB / 0.5679 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4606, allocations: 8 kB / 0.5679 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4606, allocations: 12.81 kB / 0.5679 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.4614, allocations: 207.7 kB / 0.5681 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.4614, allocations: 15.94 kB / 0.5681 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.4617, allocations: 23.94 kB / 0.5681 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.4617, allocations: 39.98 kB / 0.5682 GB, free: 2.328 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.0002693/0.462, allocations: 197.6 kB / 0.5684 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.4621, allocations: 63.56 kB / 0.5684 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000995/0.4631, allocations: 0.4975 MB / 0.5689 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4631, allocations: 4 kB / 0.5689 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4631, allocations: 0 / 0.5689 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4631, allocations: 3.938 kB / 0.5689 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.464, allocations: 0.6237 MB / 0.5695 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.464, allocations: 4 kB / 0.5695 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.4646, allocations: 140 kB / 0.5697 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.4646, allocations: 11.92 kB / 0.5697 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.4646, allocations: 16 kB / 0.5697 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4646, allocations: 0 / 0.5697 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4646, allocations: 4 kB / 0.5697 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4658, allocations: 0.7307 MB / 0.5704 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.466, allocations: 160.7 kB / 0.5706 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.4661, allocations: 12 kB / 0.5706 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.4663, allocations: 12 kB / 0.5706 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.4664, allocations: 44.33 kB / 0.5706 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4664, allocations: 19.98 kB / 0.5707 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.4667, allocations: 275.1 kB / 0.5709 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4667, allocations: 0 / 0.5709 GB, free: 15.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4678, allocations: 343 kB / 0.5712 GB, free: 15.06 MB / 430.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.00216/0.4699, allocations: 1.587 MB / 0.5728 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007765/0.4707, allocations: 421.5 kB / 0.5732 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4707, allocations: 0 / 0.5732 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.471, allocations: 186.4 kB / 0.5734 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007024/0.4717, allocations: 139 kB / 0.5735 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/0.478, allocations: 4.818 MB / 0.5782 GB, free: 7.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.4785, allocations: 0.8861 MB / 0.5791 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.4789, allocations: 116.5 kB / 0.5792 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.4793, allocations: 251.3 kB / 0.5794 GB, free: 6.297 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4793, allocations: 8 kB / 0.5794 GB, free: 6.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.526, allocations: 15.52 MB / 0.5946 GB, free: 6.867 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.82/9.346, allocations: 10.77 kB / 0.5946 GB, free: 6.859 MB / 446.1 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.019786830060184] Failed to read output from testmodel.py, exit status != 0: 9.426041337894276 9.452605763 9.013176901 Calling exit ...