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.001412/0.001412, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001632/0.001632, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.031 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.1416/0.1416, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.00227/0.00227, allocations: 67.91 kB / 471.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3178, allocations: 59.86 MB / 0.5186 GB, free: 9.633 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.0346/0.3524, allocations: 23.91 MB / 0.5419 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008593/0.361, allocations: 6.369 MB / 0.5481 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003649/0.3614, allocations: 11.88 kB / 0.5482 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.3619, allocations: 156 kB / 0.5483 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006816/0.3626, allocations: 252.1 kB / 0.5485 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.365, allocations: 0.9897 MB / 0.5495 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007611/0.3658, allocations: 0.5034 MB / 0.55 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3661, allocations: 170.5 kB / 0.5502 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.3664, allocations: 251.4 kB / 0.5504 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.3668, allocations: 265.3 kB / 0.5507 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.3668, allocations: 28 kB / 0.5507 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3684, allocations: 0.5672 MB / 0.5512 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3685, allocations: 92.41 kB / 0.5513 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.3687, allocations: 211.5 kB / 0.5515 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.3707, allocations: 1.097 MB / 0.5526 GB, free: 5.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3707, allocations: 0 / 0.5526 GB, free: 5.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3707, allocations: 0 / 0.5526 GB, free: 5.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.3707, allocations: 0 / 0.5526 GB, free: 5.938 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.001435/0.3721, allocations: 0.7274 MB / 0.5533 GB, free: 5.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3722, allocations: 8.031 kB / 0.5533 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.812e-05/0.3723, allocations: 65.17 kB / 0.5534 GB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/0.3729, allocations: 118.2 kB / 0.5535 GB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.3735, allocations: 331.9 kB / 0.5538 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.3735, allocations: 25.03 kB / 0.5538 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.3736, allocations: 31.88 kB / 0.5539 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.3743, allocations: 440.2 kB / 0.5543 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3743, allocations: 8 kB / 0.5543 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3744, allocations: 12 kB / 0.5543 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.3744, allocations: 8 kB / 0.5543 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009263/0.3753, allocations: 0.5772 MB / 0.5549 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.3779, allocations: 1.731 MB / 0.5566 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3782, allocations: 128.3 kB / 0.5567 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3784, allocations: 76.92 kB / 0.5568 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002072/0.3805, allocations: 0.9489 MB / 0.5577 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3805, allocations: 35.31 kB / 0.5577 GB, free: 1.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3805, allocations: 0 / 0.5577 GB, free: 1.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004291/0.3809, allocations: 186.6 kB / 0.5579 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.381, allocations: 59.34 kB / 0.558 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.3816, allocations: 431.8 kB / 0.5584 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3816, allocations: 29.7 kB / 0.5584 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3818, allocations: 266.8 kB / 0.5587 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.3819, allocations: 47.72 kB / 0.5587 GB, free: 176 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.382, allocations: 72.38 kB / 0.5588 GB, free: 104 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3822, allocations: 346.6 kB / 0.5591 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3824, allocations: 71.48 kB / 0.5592 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.3827, allocations: 293.5 kB / 0.5594 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.3832, allocations: 384.8 kB / 0.5598 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.3832, allocations: 4 kB / 0.5598 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007249/0.3839, allocations: 401.2 kB / 0.5602 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.384, allocations: 8.75 kB / 0.5602 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.384, allocations: 8 kB / 0.5602 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.384, allocations: 8 kB / 0.5602 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.3843, allocations: 91.17 kB / 0.5603 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.3843, allocations: 18.39 kB / 0.5603 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.3846, allocations: 48.52 kB / 0.5604 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.3847, allocations: 25.17 kB / 0.5604 GB, free: 14.3 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.0001883/0.3849, allocations: 168.9 kB / 0.5606 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.3849, allocations: 40.42 kB / 0.5606 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.3854, allocations: 239.8 kB / 0.5608 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3854, allocations: 4.547 kB / 0.5608 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.3854, allocations: 8 kB / 0.5608 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3854, allocations: 0 / 0.5608 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.3861, allocations: 0.5038 MB / 0.5613 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3861, allocations: 0.75 kB / 0.5613 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.3861, allocations: 8.734 kB / 0.5613 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3861, allocations: 0 / 0.5613 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.3861, allocations: 4.062 kB / 0.5613 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3861, allocations: 0 / 0.5613 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3861, allocations: 0.7969 kB / 0.5613 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.3863, allocations: 105.7 kB / 0.5614 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.3864, allocations: 46.98 kB / 0.5615 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.3864, allocations: 0 / 0.5615 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3865, allocations: 0.7031 kB / 0.5615 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.3865, allocations: 12.69 kB / 0.5615 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.3865, allocations: 0 / 0.5615 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004651/0.387, allocations: 360.3 kB / 0.5618 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.387, allocations: 0 / 0.5618 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006257/0.3876, allocations: 179.8 kB / 0.562 GB, free: 12.7 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.0009833/0.3886, allocations: 0.8528 MB / 0.5628 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.389, allocations: 151.3 kB / 0.563 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.389, allocations: 4 kB / 0.563 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.389, allocations: 5.891 kB / 0.563 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.3895, allocations: 110.2 kB / 0.5631 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.3947, allocations: 3.475 MB / 0.5665 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.3952, allocations: 0.7821 MB / 0.5673 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003479/0.3956, allocations: 105.9 kB / 0.5674 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3958, allocations: 134.2 kB / 0.5675 GB, free: 7.125 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3958, allocations: 0 / 0.5675 GB, free: 7.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.4416, allocations: 10.62 MB / 0.5779 GB, free: 12.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.19, allocations: 2.344 kB / 0.5779 GB, free: 12.71 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.873373460024595] Failed to read output from testmodel.py, exit status != 0: 12.308909863000736 12.326509951 11.952384826 Calling exit ...