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.001278/0.001278, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001374/0.001374, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1615/0.1615, allocations: 23.85 MB / 333.4 MB, free: 1.215 MB / 254.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.002031/0.002031, allocations: 68.81 kB / 466.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1339, allocations: 59.83 MB / 0.5142 GB, free: 12.97 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.04142/0.1753, allocations: 25.65 MB / 0.5392 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.1915, allocations: 11.69 MB / 0.5506 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.1924, allocations: 19.81 kB / 0.5506 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008455/0.1932, allocations: 262 kB / 0.5509 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.1961, allocations: 0.9851 MB / 0.5519 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004464/0.2006, allocations: 1.522 MB / 0.5533 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.2027, allocations: 1.256 MB / 0.5546 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.2034, allocations: 0.5801 MB / 0.5551 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.2042, allocations: 0.6156 MB / 0.5557 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009258/0.2051, allocations: 0.6852 MB / 0.5564 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.2053, allocations: 104 kB / 0.5565 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/0.2102, allocations: 1.303 MB / 0.5578 GB, free: 264 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.2105, allocations: 263.2 kB / 0.558 GB, free: 0 / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.2113, allocations: 0.5407 MB / 0.5586 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.2187, allocations: 2.595 MB / 0.5611 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2187, allocations: 0 / 0.5611 GB, free: 12.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2187, allocations: 0 / 0.5611 GB, free: 12.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.2187, allocations: 0 / 0.5611 GB, free: 12.85 MB / 430.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.002907/0.2216, allocations: 1.54 MB / 0.5626 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2216, allocations: 12.03 kB / 0.5626 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.985e-05/0.2217, allocations: 22.19 kB / 0.5626 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.2219, allocations: 135.7 kB / 0.5628 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/0.2228, allocations: 211.9 kB / 0.563 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.2237, allocations: 0.5913 MB / 0.5635 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2238, allocations: 92.27 kB / 0.5636 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.224, allocations: 92.12 kB / 0.5637 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.2258, allocations: 1.053 MB / 0.5647 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2258, allocations: 0 / 0.5647 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/0.2259, allocations: 32 kB / 0.5648 GB, free: 8.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.2259, allocations: 23.94 kB / 0.5648 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.228, allocations: 1.269 MB / 0.566 GB, free: 7.668 MB / 430.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.005568/0.2336, allocations: 3.486 MB / 0.5694 GB, free: 4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.2366, allocations: 1.489 MB / 0.5709 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.2376, allocations: 395.7 kB / 0.5713 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008066/0.2457, allocations: 4.037 MB / 0.5752 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2457, allocations: 39.12 kB / 0.5753 GB, free: 13.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.355e-06/0.2457, allocations: 7.875 kB / 0.5753 GB, free: 13.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.003626/0.2493, allocations: 1.667 MB / 0.5769 GB, free: 11.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.2494, allocations: 63.95 kB / 0.5769 GB, free: 11.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.2501, allocations: 0.5146 MB / 0.5775 GB, free: 11.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.2501, allocations: 37.7 kB / 0.5775 GB, free: 11.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.2505, allocations: 475.7 kB / 0.5779 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.2507, allocations: 234 kB / 0.5782 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.251, allocations: 170.6 kB / 0.5783 GB, free: 10.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.2512, allocations: 378.8 kB / 0.5787 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2516, allocations: 209.9 kB / 0.5789 GB, free: 9.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.2523, allocations: 0.5372 MB / 0.5794 GB, free: 8.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2535, allocations: 0.8131 MB / 0.5802 GB, free: 8.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2535, allocations: 4 kB / 0.5802 GB, free: 8.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001425/0.2549, allocations: 0.8539 MB / 0.581 GB, free: 7.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.2549, allocations: 11.94 kB / 0.5811 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.255, allocations: 12 kB / 0.5811 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.255, allocations: 16 kB / 0.5811 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.256, allocations: 268.1 kB / 0.5813 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.682e-05/0.256, allocations: 19.94 kB / 0.5814 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.2565, allocations: 35.98 kB / 0.5814 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.2565, allocations: 51.94 kB / 0.5814 GB, free: 6.746 MB / 446.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.0003759/0.2569, allocations: 238.3 kB / 0.5817 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2571, allocations: 67.52 kB / 0.5817 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.2584, allocations: 0.6854 MB / 0.5824 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2585, allocations: 8 kB / 0.5824 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2585, allocations: 0 / 0.5824 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.2585, allocations: 3.984 kB / 0.5824 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.2595, allocations: 0.7798 MB / 0.5832 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2595, allocations: 0 / 0.5832 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/0.2603, allocations: 171.8 kB / 0.5833 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.2603, allocations: 11.92 kB / 0.5833 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2604, allocations: 24 kB / 0.5834 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2604, allocations: 128 / 0.5834 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2604, allocations: 8 kB / 0.5834 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.2619, allocations: 0.9523 MB / 0.5843 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.2622, allocations: 196.6 kB / 0.5845 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.2623, allocations: 23.92 kB / 0.5845 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.2625, allocations: 20 kB / 0.5845 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2627, allocations: 44.5 kB / 0.5846 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.2627, allocations: 27.98 kB / 0.5846 GB, free: 3.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004027/0.2631, allocations: 338.9 kB / 0.5849 GB, free: 3.039 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2631, allocations: 0 / 0.5849 GB, free: 3.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001408/0.2645, allocations: 486.6 kB / 0.5854 GB, free: 2.562 MB / 446.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.00313/0.2676, allocations: 1.991 MB / 0.5873 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.3009/0.5685, allocations: 0.5622 MB / 0.5879 GB, free: 65.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5686, allocations: 2.844 kB / 0.5879 GB, free: 65.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000653/0.5692, allocations: 262.2 kB / 0.5881 GB, free: 65.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.5703, allocations: 158.1 kB / 0.5883 GB, free: 65.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/0.58, allocations: 6.126 MB / 0.5943 GB, free: 62.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5806, allocations: 0.9595 MB / 0.5952 GB, free: 62.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007097/0.5813, allocations: 175.1 kB / 0.5954 GB, free: 62.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.5817, allocations: 345.8 kB / 0.5957 GB, free: 61.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5817, allocations: 2.656 kB / 0.5957 GB, free: 61.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06848/0.6502, allocations: 21.09 MB / 0.6163 GB, free: 54.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.957/10.61, allocations: 11.94 kB / 0.6163 GB, free: 54.15 MB / 446.1 MB " [Timeout remaining time 649] (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: 13.677742381987628] Failed to read output from testmodel.py, exit status != 0: 10.747277404996566 10.757371361 10.536372010000001 Calling exit ...