Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001327/0.001327, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001597/0.001597, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1454/0.1454, allocations: 23.87 MB / 337.1 MB, free: 10.97 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.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_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.001941/0.001941, allocations: 63.91 kB / 471.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3304, allocations: 59.86 MB / 0.5193 GB, free: 9.562 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.07034/0.4008, allocations: 23.51 MB / 0.5423 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008973/0.4097, allocations: 5.551 MB / 0.5477 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.4103, allocations: 11.88 kB / 0.5477 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.411, allocations: 140.8 kB / 0.5478 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.4121, allocations: 259.2 kB / 0.5481 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.4154, allocations: 0.9903 MB / 0.549 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.4165, allocations: 0.5028 MB / 0.5495 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.4169, allocations: 170.7 kB / 0.5497 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.4174, allocations: 251.8 kB / 0.5499 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.4179, allocations: 265 kB / 0.5502 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.418, allocations: 28 kB / 0.5502 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.4196, allocations: 0.5371 MB / 0.5507 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.4198, allocations: 100.8 kB / 0.5508 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.42, allocations: 177 kB / 0.551 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.4219, allocations: 1.084 MB / 0.5521 GB, free: 6.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4219, allocations: 4 kB / 0.5521 GB, free: 6.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4219, allocations: 0 / 0.5521 GB, free: 6.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.4219, allocations: 0 / 0.5521 GB, free: 6.957 MB / 398.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.001355/0.4233, allocations: 0.7277 MB / 0.5528 GB, free: 6.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4233, allocations: 9.016 kB / 0.5528 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.115e-05/0.4234, allocations: 12.78 kB / 0.5528 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.845e-05/0.4234, allocations: 65.03 kB / 0.5529 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/0.424, allocations: 118.1 kB / 0.553 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.4246, allocations: 336.6 kB / 0.5533 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4246, allocations: 24.78 kB / 0.5533 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/0.4247, allocations: 28 kB / 0.5533 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007422/0.4255, allocations: 446.9 kB / 0.5538 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.4255, allocations: 3.938 kB / 0.5538 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.4255, allocations: 12 kB / 0.5538 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4255, allocations: 4 kB / 0.5538 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009942/0.4265, allocations: 0.5813 MB / 0.5543 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.4291, allocations: 1.675 MB / 0.556 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.4294, allocations: 124.4 kB / 0.5561 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.4295, allocations: 80.97 kB / 0.5562 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.4316, allocations: 0.9113 MB / 0.5571 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4316, allocations: 30.56 kB / 0.5571 GB, free: 2.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/0.4316, allocations: 0 / 0.5571 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004825/0.4321, allocations: 190.8 kB / 0.5573 GB, free: 1.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.4321, allocations: 55.41 kB / 0.5573 GB, free: 1.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.4327, allocations: 432.6 kB / 0.5577 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4328, allocations: 29.7 kB / 0.5578 GB, free: 1.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.4331, allocations: 270 kB / 0.558 GB, free: 1.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.4331, allocations: 35.88 kB / 0.5581 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.4332, allocations: 75.72 kB / 0.5581 GB, free: 1.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4335, allocations: 351.3 kB / 0.5585 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.4336, allocations: 70.5 kB / 0.5585 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.4339, allocations: 298.1 kB / 0.5588 GB, free: 372 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.4345, allocations: 380.6 kB / 0.5592 GB, free: 15.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4345, allocations: 11.94 kB / 0.5592 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007013/0.4352, allocations: 389.7 kB / 0.5596 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4352, allocations: 8 kB / 0.5596 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4352, allocations: 8.562 kB / 0.5596 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.4353, allocations: 16.31 kB / 0.5596 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.4356, allocations: 91.45 kB / 0.5597 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.4356, allocations: 14.5 kB / 0.5597 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4359, allocations: 44.25 kB / 0.5597 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.4359, allocations: 32.78 kB / 0.5598 GB, free: 15.34 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.0001978/0.4361, allocations: 165.5 kB / 0.5599 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.4362, allocations: 43.72 kB / 0.56 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.4367, allocations: 233.1 kB / 0.5602 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4367, allocations: 7.969 kB / 0.5602 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4367, allocations: 0.5625 kB / 0.5602 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4367, allocations: 4.031 kB / 0.5602 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.4374, allocations: 0.4888 MB / 0.5607 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4374, allocations: 4.688 kB / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.4374, allocations: 0.7031 kB / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4374, allocations: 0 / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4374, allocations: 0 / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4374, allocations: 4 kB / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4374, allocations: 0.6562 kB / 0.5607 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.4376, allocations: 109.7 kB / 0.5608 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.4377, allocations: 46.42 kB / 0.5608 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.4377, allocations: 0.8438 kB / 0.5608 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4378, allocations: 4.734 kB / 0.5609 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.4379, allocations: 4 kB / 0.5609 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.4379, allocations: 0.8438 kB / 0.5609 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005119/0.4384, allocations: 360.1 kB / 0.5612 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4384, allocations: 0 / 0.5612 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000714/0.4391, allocations: 175.3 kB / 0.5614 GB, free: 13.74 MB / 414.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.001074/0.4402, allocations: 0.8532 MB / 0.5622 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.4405, allocations: 154.8 kB / 0.5623 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4405, allocations: 0 / 0.5623 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.4405, allocations: 14.66 kB / 0.5624 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.4411, allocations: 110.7 kB / 0.5625 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.4457, allocations: 3.475 MB / 0.5659 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.4459, allocations: 181 kB / 0.566 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.4462, allocations: 96.45 kB / 0.5661 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4465, allocations: 137.5 kB / 0.5663 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4465, allocations: 0 / 0.5663 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.4816, allocations: 11.04 MB / 0.577 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.58, allocations: 8 kB / 0.577 GB, free: 14.04 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --stepSize=4e-07 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.386679025948979] Failed to read output from testmodel.py, exit status != 0: 12.754489421960898 12.782356183 12.355444638 Calling exit ...