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.0009286/0.0009286, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008189/0.0008189, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9378/0.9378, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.09609/0.09609, 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.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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 1.156 kB / 411.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.271e-05, allocations: 4.141 kB / 411.4 MB, free: 13.22 MB / 330.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.SimpleReaction): time 0.02894/0.02897, allocations: 25.09 MB / 436.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007886/0.03685, allocations: 7.068 MB / 443.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.03756, allocations: 15.88 kB / 443.6 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.03823, allocations: 170.4 kB / 443.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.0403, allocations: 0.7244 MB / 444.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.04296, allocations: 1.074 MB / 445.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.04471, allocations: 0.9723 MB / 446.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006703/0.04538, allocations: 423.9 kB / 447 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007601/0.04614, allocations: 0.6369 MB / 447.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006626/0.04681, allocations: 401.8 kB / 448 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.04696, allocations: 83.98 kB / 448.1 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.04909, allocations: 0.829 MB / 448.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.0493, allocations: 194 kB / 449.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.04963, allocations: 303.9 kB / 449.4 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.05303, allocations: 1.917 MB / 451.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.05304, allocations: 0 / 451.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.05305, allocations: 4 kB / 451.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.05306, allocations: 0 / 451.3 MB, free: 2.535 MB / 346.7 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.001555/0.05462, allocations: 1.097 MB / 452.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.05467, allocations: 12.03 kB / 452.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.05478, allocations: 110.7 kB / 452.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/0.05523, allocations: 156.3 kB / 452.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.0558, allocations: 429 kB / 453.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.0559, allocations: 106 kB / 453.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.05598, allocations: 64.38 kB / 453.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.05688, allocations: 0.7781 MB / 454 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.05689, allocations: 4.188 kB / 454 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.05694, allocations: 27.94 kB / 454.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.05695, allocations: 16 kB / 454.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.05823, allocations: 0.8718 MB / 455 MB, free: 14.79 MB / 362.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.00273/0.06096, allocations: 2.077 MB / 457 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/0.06193, allocations: 0.8166 MB / 457.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.06222, allocations: 279.2 kB / 458.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002101/0.06432, allocations: 1.508 MB / 459.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.06434, allocations: 34.56 kB / 459.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.094e-06/0.06435, allocations: 0 / 459.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001738/0.06608, allocations: 1.167 MB / 460.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.06612, allocations: 63.28 kB / 460.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.06648, allocations: 433.7 kB / 461.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.0665, allocations: 29.7 kB / 461.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.06692, allocations: 380.1 kB / 461.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.06701, allocations: 166.6 kB / 461.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.06713, allocations: 126.6 kB / 462 MB, free: 7.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.06723, allocations: 362.8 kB / 462.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.0674, allocations: 153.9 kB / 462.5 MB, free: 7.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.06766, allocations: 392.4 kB / 462.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.06817, allocations: 0.5679 MB / 463.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.06818, allocations: 8 kB / 463.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006361/0.06881, allocations: 0.6181 MB / 464.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.06883, allocations: 8 kB / 464.1 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.06884, allocations: 8 kB / 464.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.06886, allocations: 12 kB / 464.1 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.06926, allocations: 208.2 kB / 464.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.06928, allocations: 19.92 kB / 464.3 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.06947, allocations: 28 kB / 464.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.06951, allocations: 35.98 kB / 464.4 MB, free: 4.938 MB / 362.7 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.0001969/0.06971, allocations: 201.6 kB / 464.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.06976, allocations: 55.67 kB / 464.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.07037, allocations: 0.4988 MB / 465.1 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.07037, allocations: 7.938 kB / 465.2 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.07038, allocations: 11.94 kB / 465.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.07038, allocations: 3.984 kB / 465.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.07093, allocations: 0.5449 MB / 465.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.07094, allocations: 0 / 465.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.07124, allocations: 139.9 kB / 465.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.07125, allocations: 8.125 kB / 465.9 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.07127, allocations: 19.98 kB / 465.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.07127, allocations: 0 / 465.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.07128, allocations: 7.938 kB / 465.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.07195, allocations: 0.7206 MB / 466.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.07208, allocations: 87.67 kB / 466.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.07212, allocations: 8 kB / 466.7 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.07223, allocations: 12 kB / 466.7 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.0723, allocations: 40.38 kB / 466.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.07232, allocations: 19.98 kB / 466.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.07252, allocations: 283.1 kB / 467.1 MB, free: 2.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.07252, allocations: 0 / 467.1 MB, free: 2.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007494/0.07327, allocations: 335.1 kB / 467.4 MB, free: 1.848 MB / 362.7 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.001824/0.0751, allocations: 1.608 MB / 469 MB, free: 208 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.07566, allocations: 419 kB / 469.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.07566, allocations: 4 kB / 469.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.07584, allocations: 182.8 kB / 469.6 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.07638, allocations: 130.7 kB / 469.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.08096, allocations: 4.737 MB / 474.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.08117, allocations: 296.1 kB / 474.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.08148, allocations: 124.5 kB / 474.9 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.08171, allocations: 252.3 kB / 475.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.08172, allocations: 0 / 475.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.1181, allocations: 16.63 MB / 491.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.511, allocations: 15.16 kB / 491.7 MB, free: 9.285 MB / 394.7 MB " [Timeout remaining time 652] (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: 9.59588139411062] Failed to read output from testmodel.py, exit status != 0: 7.773618032224476 7.613061251 7.557045081 Calling exit ...