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.001594/0.001594, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00191/0.00191, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.785 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.1397/0.1397, allocations: 23.88 MB / 336.3 MB, free: 11.06 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",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.002068/0.002068, allocations: 71.89 kB / 471.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 59.86 MB / 0.5185 GB, free: 9.523 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.07195/0.4628, allocations: 23.77 MB / 0.5417 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008673/0.4715, allocations: 5.555 MB / 0.5472 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.472, allocations: 19.81 kB / 0.5472 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.4725, allocations: 144.3 kB / 0.5473 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008861/0.4734, allocations: 252 kB / 0.5476 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.4766, allocations: 0.9815 MB / 0.5485 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009694/0.4776, allocations: 0.5073 MB / 0.549 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.478, allocations: 174.8 kB / 0.5492 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.4783, allocations: 243.4 kB / 0.5494 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.4788, allocations: 273.3 kB / 0.5497 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.4789, allocations: 28 kB / 0.5497 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.4805, allocations: 0.537 MB / 0.5502 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.4806, allocations: 101.2 kB / 0.5503 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.4808, allocations: 164 kB / 0.5505 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.483, allocations: 1.095 MB / 0.5516 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.483, allocations: 0 / 0.5516 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.483, allocations: 0 / 0.5516 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.483, allocations: 4 kB / 0.5516 GB, free: 6.688 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.001441/0.4844, allocations: 0.7308 MB / 0.5523 GB, free: 5.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.4845, allocations: 12.03 kB / 0.5523 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.4846, allocations: 61.45 kB / 0.5523 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006211/0.4852, allocations: 114 kB / 0.5525 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.4859, allocations: 332.1 kB / 0.5528 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.486, allocations: 24.97 kB / 0.5528 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.486, allocations: 27.94 kB / 0.5528 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.4868, allocations: 443.4 kB / 0.5532 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4869, allocations: 4 kB / 0.5532 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.4869, allocations: 12 kB / 0.5533 GB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.4869, allocations: 8.703 kB / 0.5533 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.488, allocations: 0.5689 MB / 0.5538 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.4907, allocations: 1.676 MB / 0.5555 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.491, allocations: 136.5 kB / 0.5556 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4912, allocations: 79.34 kB / 0.5557 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.4935, allocations: 0.9147 MB / 0.5566 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4936, allocations: 35.36 kB / 0.5566 GB, free: 1.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.4936, allocations: 0 / 0.5566 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004498/0.494, allocations: 186.4 kB / 0.5568 GB, free: 1.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.4941, allocations: 59.34 kB / 0.5568 GB, free: 1.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.4947, allocations: 444.3 kB / 0.5572 GB, free: 1.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.4947, allocations: 29.7 kB / 0.5573 GB, free: 1.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.4949, allocations: 270.2 kB / 0.5575 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.495, allocations: 31.36 kB / 0.5576 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.4951, allocations: 76.28 kB / 0.5576 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.4953, allocations: 351.2 kB / 0.558 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4954, allocations: 67.39 kB / 0.558 GB, free: 496 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.4958, allocations: 289.5 kB / 0.5583 GB, free: 112 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.4963, allocations: 388.6 kB / 0.5587 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4963, allocations: 0 / 0.5587 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007104/0.497, allocations: 398.1 kB / 0.5591 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4971, allocations: 8 kB / 0.5591 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4971, allocations: 8 kB / 0.5591 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.4971, allocations: 12.61 kB / 0.5591 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.4974, allocations: 91.03 kB / 0.5592 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.4975, allocations: 18.03 kB / 0.5592 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.4977, allocations: 44.19 kB / 0.5592 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.4978, allocations: 29.45 kB / 0.5593 GB, free: 15.09 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.0001965/0.498, allocations: 160.2 kB / 0.5594 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.4981, allocations: 52.33 kB / 0.5595 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.4986, allocations: 236.1 kB / 0.5597 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4986, allocations: 4.5 kB / 0.5597 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4986, allocations: 4 kB / 0.5597 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4986, allocations: 0.7969 kB / 0.5597 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.4994, allocations: 0.5001 MB / 0.5602 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4994, allocations: 384 / 0.5602 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.4994, allocations: 4.734 kB / 0.5602 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4994, allocations: 0.5156 kB / 0.5602 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4994, allocations: 4 kB / 0.5602 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4994, allocations: 4.547 kB / 0.5602 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4994, allocations: 0 / 0.5602 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.4996, allocations: 109.9 kB / 0.5603 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/0.4997, allocations: 42.33 kB / 0.5603 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.4997, allocations: 4.609 kB / 0.5604 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4999, allocations: 8.812 kB / 0.5604 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.4999, allocations: 0.75 kB / 0.5604 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4999, allocations: 3.984 kB / 0.5604 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005416/0.5004, allocations: 360 kB / 0.5607 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5004, allocations: 0 / 0.5607 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006881/0.5011, allocations: 184 kB / 0.5609 GB, free: 13.46 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.001033/0.5021, allocations: 0.8376 MB / 0.5617 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.5025, allocations: 157.4 kB / 0.5619 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5025, allocations: 0 / 0.5619 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.5025, allocations: 9.859 kB / 0.5619 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.5031, allocations: 106.2 kB / 0.562 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.5082, allocations: 3.47 MB / 0.5654 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.5084, allocations: 179.9 kB / 0.5655 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00033/0.5088, allocations: 98.2 kB / 0.5656 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.509, allocations: 132.8 kB / 0.5657 GB, free: 8.523 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.509, allocations: 0 / 0.5657 GB, free: 8.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0456/0.5546, allocations: 11.46 MB / 0.5769 GB, free: 13.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.69, allocations: 7.859 kB / 0.5769 GB, free: 13.36 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.518263330013724] Failed to read output from testmodel.py, exit status != 0: 11.800572028994793 11.817536627 11.331257668 Calling exit ...