Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001286/0.001286, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001433/0.001433, allocations: 216 kB / 22.25 MB, free: 5.102 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.508/1.508, 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.1507/0.1507, allocations: 23.87 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.SimpleReaction,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction,fileNamePrefix="Chemical_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.002475/0.002475, allocations: 63.91 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4157, allocations: 59.86 MB / 0.5185 GB, free: 9.598 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.SimpleReaction): time 0.0747/0.4904, allocations: 24.72 MB / 0.5427 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.5019, allocations: 7.047 MB / 0.5495 GB, free: 8.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008639/0.5028, allocations: 19.88 kB / 0.5496 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.5035, allocations: 173.8 kB / 0.5497 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.506, allocations: 0.6983 MB / 0.5504 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.5094, allocations: 1.052 MB / 0.5514 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.5111, allocations: 0.9368 MB / 0.5523 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.5118, allocations: 431.8 kB / 0.5528 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006521/0.5125, allocations: 472.9 kB / 0.5532 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008608/0.5133, allocations: 0.5013 MB / 0.5537 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.5135, allocations: 76 kB / 0.5538 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.5167, allocations: 0.8365 MB / 0.5546 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.517, allocations: 194.2 kB / 0.5548 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.5175, allocations: 355.2 kB / 0.5551 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00518/0.5227, allocations: 1.817 MB / 0.5569 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5227, allocations: 3.938 kB / 0.5569 GB, free: 2.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5227, allocations: 0 / 0.5569 GB, free: 2.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.5227, allocations: 0 / 0.5569 GB, free: 2.027 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.002627/0.5253, allocations: 1.116 MB / 0.558 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5254, allocations: 12.03 kB / 0.558 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.5255, allocations: 106.6 kB / 0.5581 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.5263, allocations: 157.8 kB / 0.5582 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.5272, allocations: 422.8 kB / 0.5586 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.5273, allocations: 110.7 kB / 0.5588 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.5275, allocations: 73.03 kB / 0.5588 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.529, allocations: 0.7744 MB / 0.5596 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.529, allocations: 0 / 0.5596 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/0.5291, allocations: 28 kB / 0.5596 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5291, allocations: 19.94 kB / 0.5596 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.5306, allocations: 0.8734 MB / 0.5605 GB, free: 14.71 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.00417/0.5348, allocations: 2.078 MB / 0.5625 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.5363, allocations: 0.8045 MB / 0.5633 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.5368, allocations: 275.2 kB / 0.5636 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003638/0.5404, allocations: 1.512 MB / 0.565 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5405, allocations: 42.5 kB / 0.5651 GB, free: 10.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.5405, allocations: 0 / 0.5651 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002859/0.5433, allocations: 1.17 MB / 0.5662 GB, free: 8.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.5434, allocations: 59.39 kB / 0.5663 GB, free: 8.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.544, allocations: 433.6 kB / 0.5667 GB, free: 8.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.544, allocations: 33.7 kB / 0.5667 GB, free: 8.273 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.5443, allocations: 376.1 kB / 0.5671 GB, free: 7.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.5445, allocations: 174.5 kB / 0.5672 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.5447, allocations: 122.6 kB / 0.5674 GB, free: 7.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.5449, allocations: 362.8 kB / 0.5677 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.5451, allocations: 145.9 kB / 0.5678 GB, free: 7.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.5456, allocations: 396.3 kB / 0.5682 GB, free: 6.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.5465, allocations: 0.5709 MB / 0.5688 GB, free: 5.926 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5465, allocations: 4 kB / 0.5688 GB, free: 5.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001047/0.5475, allocations: 0.6129 MB / 0.5694 GB, free: 5.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5475, allocations: 15.88 kB / 0.5694 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5475, allocations: 8 kB / 0.5694 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.5476, allocations: 12 kB / 0.5694 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.5483, allocations: 208.1 kB / 0.5696 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.5484, allocations: 19.92 kB / 0.5696 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.5487, allocations: 24 kB / 0.5697 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.5488, allocations: 32 kB / 0.5697 GB, free: 4.988 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.0002984/0.5491, allocations: 205.6 kB / 0.5699 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5492, allocations: 59.56 kB / 0.5699 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.5502, allocations: 0.4935 MB / 0.5704 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5502, allocations: 8 kB / 0.5704 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5502, allocations: 0 / 0.5704 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.5502, allocations: 3.984 kB / 0.5704 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.551, allocations: 0.5487 MB / 0.571 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5511, allocations: 4 kB / 0.571 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.5517, allocations: 139.9 kB / 0.5711 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.5517, allocations: 7.938 kB / 0.5711 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.5517, allocations: 16.12 kB / 0.5711 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5517, allocations: 8 kB / 0.5711 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5517, allocations: 3.938 kB / 0.5711 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.5528, allocations: 0.7225 MB / 0.5718 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.5531, allocations: 91.61 kB / 0.5719 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.5531, allocations: 15.94 kB / 0.5719 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.5534, allocations: 11.98 kB / 0.572 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.5534, allocations: 40.38 kB / 0.572 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.5535, allocations: 20 kB / 0.572 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.5538, allocations: 279.1 kB / 0.5723 GB, free: 2.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5538, allocations: 0 / 0.5723 GB, free: 2.227 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001097/0.5549, allocations: 339.1 kB / 0.5726 GB, free: 1.895 MB / 414.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.002233/0.5571, allocations: 1.586 MB / 0.5742 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.5579, allocations: 418.3 kB / 0.5746 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5579, allocations: 0 / 0.5746 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.5582, allocations: 186.4 kB / 0.5747 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.559, allocations: 140.6 kB / 0.5749 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.566, allocations: 4.821 MB / 0.5796 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5664, allocations: 288.1 kB / 0.5798 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.5668, allocations: 124.5 kB / 0.58 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.5672, allocations: 247.3 kB / 0.5802 GB, free: 9.738 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5672, allocations: 3.938 kB / 0.5802 GB, free: 9.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06607/0.6333, allocations: 16.72 MB / 0.5965 GB, free: 9.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.19, allocations: 6.906 kB / 0.5965 GB, free: 9.199 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_SimpleReaction_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_SimpleReaction.fmu > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.069457308010897] Failed to read output from testmodel.py, exit status != 0: 12.308368583995616 12.336468879 11.808623823 Calling exit ...