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.001787/0.001787, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00239/0.00239, allocations: 209.5 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.738 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.1702/0.1702, allocations: 23.89 MB / 336.3 MB, free: 10.93 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.002189/0.002189, allocations: 63.91 kB / 471.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3447, allocations: 59.84 MB / 0.5185 GB, free: 9.219 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.0708/0.4155, allocations: 23.9 MB / 0.5419 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008755/0.4243, allocations: 5.574 MB / 0.5473 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.4247, allocations: 11.88 kB / 0.5473 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.4253, allocations: 136.2 kB / 0.5474 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007952/0.4261, allocations: 260 kB / 0.5477 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.4289, allocations: 0.9818 MB / 0.5486 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008465/0.4298, allocations: 0.5116 MB / 0.5491 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.4301, allocations: 162.5 kB / 0.5493 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.4305, allocations: 251.4 kB / 0.5495 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005519/0.431, allocations: 253.9 kB / 0.5498 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.4311, allocations: 28 kB / 0.5498 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.4325, allocations: 0.5248 MB / 0.5503 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.4326, allocations: 96.52 kB / 0.5504 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.4328, allocations: 176 kB / 0.5506 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.4346, allocations: 1.088 MB / 0.5516 GB, free: 6.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4346, allocations: 0 / 0.5516 GB, free: 6.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4346, allocations: 0 / 0.5516 GB, free: 6.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4346, allocations: 0 / 0.5516 GB, free: 6.445 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.001259/0.4359, allocations: 0.7264 MB / 0.5524 GB, free: 5.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.4359, allocations: 14.75 kB / 0.5524 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.031e-05/0.436, allocations: 64.55 kB / 0.5524 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.4365, allocations: 116.2 kB / 0.5525 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.4372, allocations: 336.3 kB / 0.5529 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.4372, allocations: 25.03 kB / 0.5529 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.4373, allocations: 27.94 kB / 0.5529 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.438, allocations: 443.8 kB / 0.5533 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.438, allocations: 0 / 0.5533 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.4381, allocations: 13.03 kB / 0.5533 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4381, allocations: 8 kB / 0.5534 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.4391, allocations: 0.5689 MB / 0.5539 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.4418, allocations: 1.672 MB / 0.5555 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.4421, allocations: 131.9 kB / 0.5557 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.4423, allocations: 80.67 kB / 0.5557 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/0.4445, allocations: 0.9147 MB / 0.5566 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4445, allocations: 34.56 kB / 0.5567 GB, free: 1.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.4445, allocations: 0 / 0.5567 GB, free: 1.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004702/0.445, allocations: 194.3 kB / 0.5569 GB, free: 1.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.445, allocations: 56.09 kB / 0.5569 GB, free: 1.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.4456, allocations: 443.2 kB / 0.5573 GB, free: 1.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4456, allocations: 26.31 kB / 0.5574 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.4459, allocations: 273.9 kB / 0.5576 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.4459, allocations: 35.83 kB / 0.5577 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.4461, allocations: 84.17 kB / 0.5577 GB, free: 0.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4463, allocations: 347.1 kB / 0.5581 GB, free: 296 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4464, allocations: 66.73 kB / 0.5581 GB, free: 240 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.4467, allocations: 294 kB / 0.5584 GB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.4472, allocations: 388.7 kB / 0.5588 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.4473, allocations: 4 kB / 0.5588 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006801/0.4479, allocations: 393.2 kB / 0.5592 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.448, allocations: 8.703 kB / 0.5592 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.448, allocations: 8 kB / 0.5592 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.448, allocations: 12.78 kB / 0.5592 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.4483, allocations: 91.16 kB / 0.5593 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.4483, allocations: 21.95 kB / 0.5593 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.4486, allocations: 44.28 kB / 0.5593 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.4487, allocations: 33.02 kB / 0.5594 GB, free: 14.82 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.0002053/0.4489, allocations: 157.2 kB / 0.5595 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.4489, allocations: 39.72 kB / 0.5596 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.4495, allocations: 248 kB / 0.5598 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4495, allocations: 3.938 kB / 0.5598 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4495, allocations: 0 / 0.5598 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4495, allocations: 0.5625 kB / 0.5598 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.4502, allocations: 496.6 kB / 0.5603 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4502, allocations: 0 / 0.5603 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.4503, allocations: 4.594 kB / 0.5603 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4503, allocations: 0.5625 kB / 0.5603 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.4503, allocations: 0 / 0.5603 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4503, allocations: 8.562 kB / 0.5603 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4503, allocations: 4 kB / 0.5603 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.4505, allocations: 105.7 kB / 0.5604 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.4505, allocations: 46.5 kB / 0.5604 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.4506, allocations: 4.703 kB / 0.5604 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.4507, allocations: 0.5156 kB / 0.5604 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.4507, allocations: 1.078 kB / 0.5604 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4507, allocations: 8 kB / 0.5604 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000502/0.4512, allocations: 360.5 kB / 0.5608 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4512, allocations: 0 / 0.5608 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006998/0.4519, allocations: 179.6 kB / 0.561 GB, free: 13.23 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.000955/0.4529, allocations: 0.8532 MB / 0.5618 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.4532, allocations: 150.8 kB / 0.5619 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4532, allocations: 4.25 kB / 0.5619 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.4532, allocations: 9.828 kB / 0.562 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.4538, allocations: 84.45 kB / 0.562 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.4585, allocations: 3.474 MB / 0.5654 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4588, allocations: 180 kB / 0.5656 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.4591, allocations: 105.4 kB / 0.5657 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.4594, allocations: 133.5 kB / 0.5658 GB, free: 8.285 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4594, allocations: 0 / 0.5658 GB, free: 8.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.5006, allocations: 11.37 MB / 0.5769 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.81, allocations: 4 kB / 0.5769 GB, free: 13.23 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.599730290938169] Failed to read output from testmodel.py, exit status != 0: 11.934401372913271 11.950931925 11.513280424 Calling exit ...