Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1476/0.1476, allocations: 15.27 MB / 30.21 MB, free: 3.297 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 179.6 kB / 35.29 MB, free: 2.379 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 263.4 MB, free: 6.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.000865, allocations: 82.34 kB / 318.8 MB, free: 3.844 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 9.594 kB / 384 MB, free: 50.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 54.64 MB / 438.6 MB, free: 380 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4847, allocations: 95.34 MB / 0.5215 GB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.485, allocations: 64.83 kB / 0.5215 GB, free: 15.53 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System A.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:1535:7-1535:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System reaction.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sensors.DissociationCoefficient$reaction. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System B.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.03215/0.5172, allocations: 12.41 MB / 0.5337 GB, free: 30.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5172, allocations: 3.875 kB / 0.5337 GB, free: 30.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.5173, allocations: 7.625 kB / 0.5337 GB, free: 30.48 MB / 394.7 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.001131/0.5184, allocations: 0.7494 MB / 0.5344 GB, free: 29.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5184, allocations: 7.625 kB / 0.5344 GB, free: 29.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/0.5185, allocations: 67.02 kB / 0.5345 GB, free: 29.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.519, allocations: 141.2 kB / 0.5346 GB, free: 29.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.5196, allocations: 434.3 kB / 0.535 GB, free: 29.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.5196, allocations: 23.45 kB / 0.535 GB, free: 29.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.5197, allocations: 26.19 kB / 0.5351 GB, free: 29.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.5204, allocations: 0.7195 MB / 0.5358 GB, free: 29.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5204, allocations: 7.938 kB / 0.5358 GB, free: 29.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.5205, allocations: 15.06 kB / 0.5358 GB, free: 29.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.5205, allocations: 7.625 kB / 0.5358 GB, free: 29.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009729/0.5215, allocations: 1.113 MB / 0.5369 GB, free: 29.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.5245, allocations: 2.39 MB / 0.5392 GB, free: 28.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.5246, allocations: 28.94 kB / 0.5392 GB, free: 28.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.5246, allocations: 4 kB / 0.5392 GB, free: 28.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.5246, allocations: 32.75 kB / 0.5393 GB, free: 28.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/0.5246, allocations: 3.938 kB / 0.5393 GB, free: 28.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002362/0.5249, allocations: 105.9 kB / 0.5394 GB, free: 28.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5249, allocations: 51.41 kB / 0.5394 GB, free: 28.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.5261, allocations: 1.142 MB / 0.5405 GB, free: 28.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5261, allocations: 25.7 kB / 0.5406 GB, free: 28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.5263, allocations: 333.4 kB / 0.5409 GB, free: 27.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.5263, allocations: 7.844 kB / 0.5409 GB, free: 27.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.5264, allocations: 10.81 kB / 0.5409 GB, free: 27.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5265, allocations: 361.3 kB / 0.5413 GB, free: 27.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.5268, allocations: 296.8 kB / 0.5415 GB, free: 27.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.5271, allocations: 434 kB / 0.542 GB, free: 27.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.5275, allocations: 336.7 kB / 0.5423 GB, free: 27.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5275, allocations: 3.875 kB / 0.5423 GB, free: 27.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000827/0.5283, allocations: 0.7966 MB / 0.5431 GB, free: 27.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5283, allocations: 3.875 kB / 0.5431 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5284, allocations: 7.75 kB / 0.5431 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.5284, allocations: 7.75 kB / 0.5431 GB, free: 27.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.5288, allocations: 84.28 kB / 0.5432 GB, free: 27.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.5288, allocations: 17.84 kB / 0.5432 GB, free: 27.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.5292, allocations: 46.19 kB / 0.5432 GB, free: 27.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.5293, allocations: 26.08 kB / 0.5432 GB, free: 27.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002184/0.5295, allocations: 171.6 kB / 0.5434 GB, free: 27.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.5295, allocations: 50.64 kB / 0.5434 GB, free: 27.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.5296, allocations: 40.22 kB / 0.5435 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5296, allocations: 0 / 0.5435 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5296, allocations: 0 / 0.5435 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5296, allocations: 2.859 kB / 0.5435 GB, free: 27.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.5302, allocations: 0.5898 MB / 0.5441 GB, free: 26.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5303, allocations: 0 / 0.5441 GB, free: 26.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.5303, allocations: 10.89 kB / 0.5441 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5303, allocations: 0 / 0.5441 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5303, allocations: 0 / 0.5441 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5303, allocations: 0 / 0.5441 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5303, allocations: 0 / 0.5441 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.5304, allocations: 120.4 kB / 0.5442 GB, free: 26.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.5306, allocations: 146.9 kB / 0.5443 GB, free: 26.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.5306, allocations: 32 / 0.5443 GB, free: 26.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5308, allocations: 6.391 kB / 0.5443 GB, free: 26.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.5308, allocations: 0 / 0.5443 GB, free: 26.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.5308, allocations: 3.812 kB / 0.5443 GB, free: 26.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008522/0.5317, allocations: 0.9054 MB / 0.5452 GB, free: 26.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5317, allocations: 0 / 0.5452 GB, free: 26.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005513/0.5323, allocations: 174.3 kB / 0.5454 GB, free: 26.3 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006626/0.5329, allocations: 0.7923 MB / 0.5462 GB, free: 25.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.5334, allocations: 375.9 kB / 0.5465 GB, free: 25.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5334, allocations: 0 / 0.5465 GB, free: 25.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.5334, allocations: 18.42 kB / 0.5465 GB, free: 25.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.5341, allocations: 157.4 kB / 0.5467 GB, free: 25.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.5388, allocations: 6.669 MB / 0.5532 GB, free: 21.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5392, allocations: 0.8239 MB / 0.554 GB, free: 20.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000351/0.5395, allocations: 92.53 kB / 0.5541 GB, free: 20.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5397, allocations: 149.4 kB / 0.5542 GB, free: 20.83 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5397, allocations: 3.938 kB / 0.5542 GB, free: 20.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.5622, allocations: 11.89 MB / 0.5659 GB, free: 16.56 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.5625, allocations: 184.1 kB / 0.566 GB, free: 16.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.74, allocations: 0 / 0.566 GB, free: 16.33 MB / 394.7 MB (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)