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.001227/0.001227, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001382/0.001382, allocations: 216.6 kB / 23.03 MB, free: 4.949 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.1707/0.1707, allocations: 23.87 MB / 337.1 MB, free: 11.05 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.001933/0.001933, allocations: 67.89 kB / 471.9 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4027, allocations: 59.86 MB / 0.5193 GB, free: 9.488 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.07712/0.4798, allocations: 25.14 MB / 0.5438 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.4971, allocations: 10.25 MB / 0.5538 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.4984, allocations: 15.88 kB / 0.5539 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.4993, allocations: 236.7 kB / 0.5541 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.5034, allocations: 0.9941 MB / 0.5551 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005561/0.509, allocations: 1.533 MB / 0.5566 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.5119, allocations: 1.255 MB / 0.5578 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.513, allocations: 0.5771 MB / 0.5583 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.5138, allocations: 0.6197 MB / 0.5589 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.5149, allocations: 0.6785 MB / 0.5596 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.5152, allocations: 115 kB / 0.5597 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004896/0.5201, allocations: 1.258 MB / 0.5609 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.5205, allocations: 263.1 kB / 0.5612 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007239/0.5212, allocations: 471 kB / 0.5616 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.5285, allocations: 2.595 MB / 0.5642 GB, free: 11.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5285, allocations: 0 / 0.5642 GB, free: 11.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5285, allocations: 0 / 0.5642 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.429e-05/0.5286, allocations: 0 / 0.5642 GB, free: 11.94 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.003836/0.5324, allocations: 1.442 MB / 0.5656 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.5325, allocations: 12.03 kB / 0.5656 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.142e-05/0.5325, allocations: 26.19 kB / 0.5656 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.5327, allocations: 139.6 kB / 0.5658 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.5338, allocations: 215.9 kB / 0.566 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.5349, allocations: 0.5193 MB / 0.5665 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.535, allocations: 118 kB / 0.5666 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.5353, allocations: 92.12 kB / 0.5667 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.5372, allocations: 1.053 MB / 0.5677 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.5373, allocations: 7.938 kB / 0.5677 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/0.5374, allocations: 36 kB / 0.5677 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.5374, allocations: 20 kB / 0.5678 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.5396, allocations: 1.273 MB / 0.569 GB, free: 6.898 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.006065/0.5457, allocations: 2.814 MB / 0.5718 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.5483, allocations: 1.246 MB / 0.573 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009507/0.5493, allocations: 395.7 kB / 0.5733 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.5547, allocations: 2.073 MB / 0.5754 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.979e-05/0.5548, allocations: 39 kB / 0.5754 GB, free: 212 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.675e-06/0.5548, allocations: 4 kB / 0.5754 GB, free: 208 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.004059/0.5589, allocations: 1.599 MB / 0.577 GB, free: 14.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.559, allocations: 64.05 kB / 0.577 GB, free: 14.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.5597, allocations: 0.5107 MB / 0.5775 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/0.5598, allocations: 37.7 kB / 0.5776 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.5602, allocations: 475.7 kB / 0.578 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.5604, allocations: 234 kB / 0.5782 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.5607, allocations: 178.6 kB / 0.5784 GB, free: 13.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.5609, allocations: 374.8 kB / 0.5788 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/0.5613, allocations: 213.9 kB / 0.579 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007683/0.5621, allocations: 0.5373 MB / 0.5795 GB, free: 11.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.5633, allocations: 0.8143 MB / 0.5803 GB, free: 10.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.5633, allocations: 4 kB / 0.5803 GB, free: 10.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001621/0.5649, allocations: 0.8563 MB / 0.5811 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.565, allocations: 11.94 kB / 0.5812 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.565, allocations: 12 kB / 0.5812 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.629e-05/0.565, allocations: 16 kB / 0.5812 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.566, allocations: 263.9 kB / 0.5814 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.5661, allocations: 23.94 kB / 0.5815 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.5665, allocations: 35.98 kB / 0.5815 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.5666, allocations: 48 kB / 0.5815 GB, free: 9.547 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.0003877/0.567, allocations: 234 kB / 0.5818 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5671, allocations: 67.52 kB / 0.5818 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.5685, allocations: 0.6953 MB / 0.5825 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.5685, allocations: 8 kB / 0.5825 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5685, allocations: 3.938 kB / 0.5825 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.5685, allocations: 0 / 0.5825 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.5696, allocations: 0.6699 MB / 0.5832 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5697, allocations: 4 kB / 0.5832 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.5704, allocations: 179.9 kB / 0.5833 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.5704, allocations: 3.938 kB / 0.5833 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.5705, allocations: 27.94 kB / 0.5834 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.5705, allocations: 8 kB / 0.5834 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5705, allocations: 0 / 0.5834 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.572, allocations: 0.9568 MB / 0.5843 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.5723, allocations: 115.5 kB / 0.5844 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.5724, allocations: 15.94 kB / 0.5844 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.5727, allocations: 19.98 kB / 0.5845 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5728, allocations: 52.58 kB / 0.5845 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.5728, allocations: 23.98 kB / 0.5845 GB, free: 6.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004307/0.5733, allocations: 342.8 kB / 0.5849 GB, free: 6.039 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5733, allocations: 4 kB / 0.5849 GB, free: 6.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001526/0.5748, allocations: 478.7 kB / 0.5853 GB, free: 5.566 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.003402/0.5782, allocations: 2 MB / 0.5873 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.5794, allocations: 0.5698 MB / 0.5878 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5794, allocations: 0 / 0.5878 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.5798, allocations: 268.2 kB / 0.5881 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009552/0.5808, allocations: 160.1 kB / 0.5882 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.5926, allocations: 6.143 MB / 0.5942 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.5932, allocations: 365.5 kB / 0.5946 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008541/0.594, allocations: 161.5 kB / 0.5947 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.5947, allocations: 351.3 kB / 0.5951 GB, free: 11.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.894e-06/0.5947, allocations: 0 / 0.5951 GB, free: 11.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08257/0.6773, allocations: 22.14 MB / 0.6167 GB, free: 5.207 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.41, allocations: 6.875 kB / 0.6167 GB, free: 5.203 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.42777519102674] Failed to read output from testmodel.py, exit status != 0: 13.594612053013407 13.62061525 13.087693462 Calling exit ...