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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 190.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1832/0.1832, allocations: 15.32 MB / 305.3 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 369.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09721, allocations: 53.6 MB / 423.4 MB, free: 14.67 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.324/0.4212, allocations: 22.82 MB / 446.2 MB, free: 40.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.4259, allocations: 6.283 MB / 452.5 MB, free: 36.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.4262, allocations: 17 kB / 452.5 MB, free: 36.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.4265, allocations: 137 kB / 452.6 MB, free: 36.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.427, allocations: 222.8 kB / 452.8 MB, free: 36.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4284, allocations: 0.8473 MB / 453.7 MB, free: 36.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.4289, allocations: 0.5096 MB / 454.2 MB, free: 36.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.4291, allocations: 182.2 kB / 454.4 MB, free: 36.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.4292, allocations: 226.7 kB / 454.6 MB, free: 35.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.4295, allocations: 258.2 kB / 454.8 MB, free: 35.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.4295, allocations: 19.88 kB / 454.9 MB, free: 35.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.4306, allocations: 0.5443 MB / 455.4 MB, free: 35.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.393e-05/0.4307, allocations: 90.45 kB / 455.5 MB, free: 35.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.4308, allocations: 192.1 kB / 455.7 MB, free: 35.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.4318, allocations: 0.9847 MB / 456.7 MB, free: 35.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4318, allocations: 0 / 456.7 MB, free: 35.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4319, allocations: 0 / 456.7 MB, free: 35.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4319, allocations: 0 / 456.7 MB, free: 35.5 MB / 366.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.0009025/0.4328, allocations: 0.7881 MB / 457.5 MB, free: 34.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4328, allocations: 12.91 kB / 457.5 MB, free: 34.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/0.4329, allocations: 59.64 kB / 457.5 MB, free: 34.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.4334, allocations: 122.2 kB / 457.6 MB, free: 34.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.4338, allocations: 364.8 kB / 458 MB, free: 34.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.4338, allocations: 25.59 kB / 458 MB, free: 34.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.4339, allocations: 36.89 kB / 458.1 MB, free: 34.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.4344, allocations: 443.6 kB / 458.5 MB, free: 34.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4345, allocations: 10.47 kB / 458.5 MB, free: 34.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.4345, allocations: 14.42 kB / 458.5 MB, free: 34.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4345, allocations: 6.094 kB / 458.5 MB, free: 34.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.4352, allocations: 0.5759 MB / 459.1 MB, free: 34.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.4369, allocations: 1.765 MB / 460.9 MB, free: 33.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.4372, allocations: 134.5 kB / 461 MB, free: 33.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4373, allocations: 82.03 kB / 461.1 MB, free: 33.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.439, allocations: 1.883 MB / 463 MB, free: 31.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.4391, allocations: 37.83 kB / 463 MB, free: 31.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.4391, allocations: 4 kB / 463 MB, free: 31.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003406/0.4394, allocations: 179.7 kB / 463.2 MB, free: 31.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.4395, allocations: 61.36 kB / 463.2 MB, free: 31.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.4398, allocations: 429.6 kB / 463.7 MB, free: 31.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.4398, allocations: 28.7 kB / 463.7 MB, free: 31.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4399, allocations: 266.1 kB / 463.9 MB, free: 31.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.44, allocations: 40.12 kB / 464 MB, free: 31.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.4401, allocations: 78.89 kB / 464.1 MB, free: 31.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.4401, allocations: 350.3 kB / 464.4 MB, free: 30.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4402, allocations: 65.09 kB / 464.5 MB, free: 30.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.4404, allocations: 286.2 kB / 464.7 MB, free: 30.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.4407, allocations: 392.6 kB / 465.1 MB, free: 29.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4407, allocations: 4 kB / 465.1 MB, free: 29.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004803/0.4412, allocations: 388.4 kB / 465.5 MB, free: 29.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4412, allocations: 6.438 kB / 465.5 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4413, allocations: 9.312 kB / 465.5 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4413, allocations: 13.12 kB / 465.5 MB, free: 29.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.4415, allocations: 94.38 kB / 465.6 MB, free: 29.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4415, allocations: 16.78 kB / 465.7 MB, free: 29.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.4418, allocations: 43.59 kB / 465.7 MB, free: 29.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.4418, allocations: 22.12 kB / 465.7 MB, free: 29.77 MB / 366.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.0001131/0.4419, allocations: 167.5 kB / 465.9 MB, free: 29.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.442, allocations: 38.28 kB / 465.9 MB, free: 29.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.4424, allocations: 237.7 kB / 466.2 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4424, allocations: 3.984 kB / 466.2 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.4424, allocations: 11.02 kB / 466.2 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4424, allocations: 0 / 466.2 MB, free: 29.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.4428, allocations: 0.535 MB / 466.7 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4429, allocations: 0 / 466.7 MB, free: 28.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.4429, allocations: 6.844 kB / 466.7 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4429, allocations: 0 / 466.7 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4429, allocations: 2.781 kB / 466.7 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4429, allocations: 0 / 466.7 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4429, allocations: 0 / 466.7 MB, free: 28.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.443, allocations: 115.4 kB / 466.8 MB, free: 28.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.4431, allocations: 117.4 kB / 466.9 MB, free: 28.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.4432, allocations: 11.09 kB / 466.9 MB, free: 28.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.4433, allocations: 4 kB / 467 MB, free: 28.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.4433, allocations: 0 / 467 MB, free: 28.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4433, allocations: 0 / 467 MB, free: 28.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003653/0.4437, allocations: 362 kB / 467.3 MB, free: 28.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4437, allocations: 0 / 467.3 MB, free: 28.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006336/0.4443, allocations: 170.1 kB / 467.5 MB, free: 28.52 MB / 366.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.0007111/0.445, allocations: 0.8438 MB / 468.3 MB, free: 27.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.4454, allocations: 161.1 kB / 468.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4454, allocations: 192 / 468.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.4454, allocations: 16.86 kB / 468.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.446, allocations: 83.16 kB / 468.6 MB, free: 27.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.45, allocations: 3.612 MB / 472.2 MB, free: 25.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.4502, allocations: 0.7892 MB / 473 MB, free: 24.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.4505, allocations: 99.98 kB / 473.1 MB, free: 24.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.4507, allocations: 136.1 kB / 473.2 MB, free: 24.33 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4507, allocations: 0 / 473.2 MB, free: 24.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.4714, allocations: 9.877 MB / 483.1 MB, free: 23.35 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.4716, allocations: 210.1 kB / 483.3 MB, free: 23.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.364, allocations: 0 / 483.3 MB, free: 23.09 MB / 366.1 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/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)