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.0008548/0.0008548, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008472/0.0008472, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9294/0.9294, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.09391/0.09391, allocations: 17.38 MB / 276.6 MB, free: 11.84 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 411.4 MB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.076e-05, allocations: 3.688 kB / 411.4 MB, free: 432 kB / 378.7 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.02098/0.021, allocations: 25.78 MB / 437.2 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1931/0.2141, allocations: 10.25 MB / 447.5 MB, free: 59.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.2145, allocations: 15.31 kB / 447.5 MB, free: 59.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.215, allocations: 241.2 kB / 447.7 MB, free: 59.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.2165, allocations: 1.037 MB / 448.8 MB, free: 59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.2188, allocations: 1.579 MB / 450.3 MB, free: 58.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000701/0.2195, allocations: 1.295 MB / 451.6 MB, free: 58.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.2199, allocations: 0.567 MB / 452.2 MB, free: 58.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.2204, allocations: 0.8535 MB / 453.1 MB, free: 57.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.2208, allocations: 0.5453 MB / 453.6 MB, free: 57.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/0.2209, allocations: 106.2 kB / 453.7 MB, free: 57.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.2223, allocations: 1.231 MB / 454.9 MB, free: 57.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.2224, allocations: 262.3 kB / 455.2 MB, free: 57.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.2226, allocations: 405.1 kB / 455.6 MB, free: 57.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.2242, allocations: 2.737 MB / 458.3 MB, free: 56.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2242, allocations: 2.562 kB / 458.3 MB, free: 56.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2242, allocations: 3.516 kB / 458.3 MB, free: 56.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2242, allocations: 0 / 458.3 MB, free: 56.27 MB / 410.7 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.001433/0.2256, allocations: 1.438 MB / 459.8 MB, free: 55.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2257, allocations: 13.09 kB / 459.8 MB, free: 55.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.739e-05/0.2258, allocations: 136.4 kB / 459.9 MB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.2262, allocations: 221.8 kB / 460.1 MB, free: 55.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.2267, allocations: 0.5121 MB / 460.6 MB, free: 54.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.2268, allocations: 124.3 kB / 460.8 MB, free: 54.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.2269, allocations: 90.48 kB / 460.9 MB, free: 54.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.2278, allocations: 1.046 MB / 461.9 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.2278, allocations: 3.031 kB / 461.9 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.2278, allocations: 38.41 kB / 461.9 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2278, allocations: 23.97 kB / 462 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2289, allocations: 1.259 MB / 463.2 MB, free: 53.96 MB / 410.7 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.002522/0.2314, allocations: 2.815 MB / 466 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.2326, allocations: 1.232 MB / 467.3 MB, free: 52.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.2329, allocations: 396.5 kB / 467.7 MB, free: 51.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.2351, allocations: 2.092 MB / 469.7 MB, free: 50.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.2351, allocations: 38.28 kB / 469.8 MB, free: 50.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 1.653e-06/0.2351, allocations: 0 / 469.8 MB, free: 50.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=63): time 0.001823/0.237, allocations: 1.592 MB / 471.4 MB, free: 50.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.237, allocations: 68.77 kB / 471.4 MB, free: 50.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.2373, allocations: 0.5321 MB / 472 MB, free: 49.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2373, allocations: 37.7 kB / 472 MB, free: 49.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2375, allocations: 467.5 kB / 472.5 MB, free: 49.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.2375, allocations: 231.4 kB / 472.7 MB, free: 49.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2377, allocations: 174.3 kB / 472.9 MB, free: 49.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.2377, allocations: 379.9 kB / 473.2 MB, free: 48.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.2379, allocations: 209.2 kB / 473.4 MB, free: 48.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.2382, allocations: 0.5328 MB / 474 MB, free: 48.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.2388, allocations: 0.8172 MB / 474.8 MB, free: 47.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2388, allocations: 3.25 kB / 474.8 MB, free: 47.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0007564/0.2396, allocations: 0.8514 MB / 475.6 MB, free: 47.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2396, allocations: 9.344 kB / 475.7 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2396, allocations: 15.31 kB / 475.7 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.2396, allocations: 15.75 kB / 475.7 MB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.2401, allocations: 259.3 kB / 475.9 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.2401, allocations: 32.22 kB / 476 MB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2403, allocations: 29 kB / 476 MB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.2404, allocations: 56.17 kB / 476.1 MB, free: 47.2 MB / 410.7 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.0001732/0.2405, allocations: 237.4 kB / 476.3 MB, free: 47.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.2406, allocations: 66.52 kB / 476.3 MB, free: 46.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.2413, allocations: 0.6935 MB / 477 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2413, allocations: 6.188 kB / 477 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2413, allocations: 0 / 477 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2413, allocations: 9.828 kB / 477.1 MB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.2419, allocations: 0.6803 MB / 477.7 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2419, allocations: 0 / 477.7 MB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.2422, allocations: 180.1 kB / 477.9 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2422, allocations: 2.969 kB / 477.9 MB, free: 46.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2423, allocations: 20.94 kB / 477.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2423, allocations: 9.406 kB / 477.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2423, allocations: 0 / 477.9 MB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.2431, allocations: 0.9536 MB / 478.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2432, allocations: 116 kB / 479 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.2432, allocations: 11.12 kB / 479 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2434, allocations: 17.81 kB / 479 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.2435, allocations: 52.3 kB / 479.1 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.2435, allocations: 31.25 kB / 479.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.2438, allocations: 337.1 kB / 479.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2438, allocations: 2.656 kB / 479.5 MB, free: 45.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009579/0.2448, allocations: 486.5 kB / 479.9 MB, free: 45.4 MB / 410.7 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.001868/0.2466, allocations: 2.016 MB / 481.9 MB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.2473, allocations: 0.569 MB / 482.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2473, allocations: 1.656 kB / 482.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.2475, allocations: 265.8 kB / 482.8 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.2481, allocations: 158.5 kB / 482.9 MB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.2535, allocations: 6.046 MB / 489 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.2538, allocations: 368.7 kB / 489.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000381/0.2542, allocations: 166.5 kB / 489.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.2545, allocations: 351.3 kB / 489.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2545, allocations: 1.5 kB / 489.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.2904, allocations: 22.35 MB / 0.5002 GB, free: 30.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.033, allocations: 0 / 0.5002 GB, free: 30.56 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.95951816253364] Failed to read output from testmodel.py, exit status != 0: 8.119476903229952 8.125473801 7.900021668 Calling exit ...