Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001754/0.001754, allocations: 117.3 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.002126/0.002126, 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1443/0.1443, allocations: 23.89 MB / 333.4 MB, free: 1.191 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",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.001959/0.001959, allocations: 60.47 kB / 466.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.119, allocations: 59.84 MB / 0.5142 GB, free: 13.05 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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 master/Obsolete.mo:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.04146/0.1604, allocations: 23.72 MB / 0.5374 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009983/0.1704, allocations: 6.354 MB / 0.5436 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.1709, allocations: 7.938 kB / 0.5436 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006916/0.1716, allocations: 162.8 kB / 0.5438 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1727, allocations: 258 kB / 0.544 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.1759, allocations: 0.9627 MB / 0.5449 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009974/0.1769, allocations: 0.5059 MB / 0.5454 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.1773, allocations: 176.8 kB / 0.5456 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.1778, allocations: 247.3 kB / 0.5458 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.1783, allocations: 267.1 kB / 0.5461 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1784, allocations: 32 kB / 0.5461 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1801, allocations: 0.5538 MB / 0.5467 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.1803, allocations: 99.62 kB / 0.5468 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.1806, allocations: 210.9 kB / 0.547 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.183, allocations: 1.093 MB / 0.548 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.183, allocations: 0 / 0.548 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.183, allocations: 0 / 0.548 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.371e-05/0.1831, allocations: 0 / 0.548 GB, free: 10.44 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001625/0.1847, allocations: 0.8052 MB / 0.5488 GB, free: 9.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1847, allocations: 8.031 kB / 0.5488 GB, free: 9.578 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.357e-05/0.1848, allocations: 12.75 kB / 0.5488 GB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.713e-05/0.1848, allocations: 62.72 kB / 0.5489 GB, free: 9.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.1855, allocations: 116.3 kB / 0.549 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.1861, allocations: 400 kB / 0.5494 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1861, allocations: 24.69 kB / 0.5494 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.1862, allocations: 24 kB / 0.5494 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.1869, allocations: 442.1 kB / 0.5499 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.187, allocations: 7.938 kB / 0.5499 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.187, allocations: 8 kB / 0.5499 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.187, allocations: 8 kB / 0.5499 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009578/0.188, allocations: 0.5794 MB / 0.5504 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.1905, allocations: 1.765 MB / 0.5522 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.1908, allocations: 126.5 kB / 0.5523 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.191, allocations: 76.83 kB / 0.5524 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002538/0.1935, allocations: 1.876 MB / 0.5542 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1935, allocations: 38.5 kB / 0.5542 GB, free: 3.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1935, allocations: 0 / 0.5542 GB, free: 3.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004758/0.194, allocations: 193.4 kB / 0.5544 GB, free: 3.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1941, allocations: 55.41 kB / 0.5545 GB, free: 3.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.1946, allocations: 437.8 kB / 0.5549 GB, free: 2.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1946, allocations: 29.7 kB / 0.5549 GB, free: 2.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1948, allocations: 263.7 kB / 0.5552 GB, free: 2.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.1949, allocations: 39.69 kB / 0.5552 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.195, allocations: 81.58 kB / 0.5553 GB, free: 2.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1952, allocations: 346.8 kB / 0.5556 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1953, allocations: 75.95 kB / 0.5557 GB, free: 2.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.1956, allocations: 285.7 kB / 0.556 GB, free: 1.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.1961, allocations: 389.6 kB / 0.5563 GB, free: 1.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1961, allocations: 0 / 0.5563 GB, free: 1.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006594/0.1968, allocations: 392.9 kB / 0.5567 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1968, allocations: 8 kB / 0.5567 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1968, allocations: 11.98 kB / 0.5567 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.1968, allocations: 11.94 kB / 0.5567 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1971, allocations: 92.55 kB / 0.5568 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.1971, allocations: 19.94 kB / 0.5568 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.1974, allocations: 43.67 kB / 0.5569 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.1974, allocations: 27.98 kB / 0.5569 GB, free: 0.5742 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 (38): * Single equations (assignments): 38 * 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.0001916/0.1976, allocations: 162.5 kB / 0.5571 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.1977, allocations: 39.72 kB / 0.5571 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.1982, allocations: 247.6 kB / 0.5573 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1982, allocations: 3.938 kB / 0.5573 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1982, allocations: 0 / 0.5573 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1982, allocations: 4 kB / 0.5573 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.1988, allocations: 0.5297 MB / 0.5579 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1988, allocations: 3.938 kB / 0.5579 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.1988, allocations: 64 / 0.5579 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1988, allocations: 4 kB / 0.5579 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1989, allocations: 4 kB / 0.5579 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1989, allocations: 0 / 0.5579 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1989, allocations: 0 / 0.5579 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.199, allocations: 104.9 kB / 0.558 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1991, allocations: 125.1 kB / 0.5581 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.1992, allocations: 4 kB / 0.5581 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1993, allocations: 4.031 kB / 0.5581 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.1993, allocations: 0 / 0.5581 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1993, allocations: 3.938 kB / 0.5581 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004411/0.1997, allocations: 370.8 kB / 0.5585 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1997, allocations: 0 / 0.5585 GB, free: 14.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000627/0.2003, allocations: 175.4 kB / 0.5586 GB, free: 14.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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.0009393/0.2013, allocations: 0.8497 MB / 0.5595 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.2016, allocations: 149.7 kB / 0.5596 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2016, allocations: 0 / 0.5596 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.2017, allocations: 19.98 kB / 0.5596 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.2022, allocations: 85.84 kB / 0.5597 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.2069, allocations: 3.476 MB / 0.5631 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.2074, allocations: 0.7834 MB / 0.5639 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.2077, allocations: 111.1 kB / 0.564 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2079, allocations: 135.3 kB / 0.5641 GB, free: 8.734 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2079, allocations: 0 / 0.5641 GB, free: 8.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.2399, allocations: 10.43 MB / 0.5743 GB, free: 14.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.918/9.158, allocations: 18.16 kB / 0.5743 GB, free: 14.41 MB / 446.1 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.110948085028213] Failed to read output from testmodel.py, exit status != 0: 9.289312766981311 9.304317963 9.118100918 Calling exit ...