Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001652/0.001652, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002066/0.002066, allocations: 212 kB / 22.24 MB, free: 5.242 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1404/0.1404, allocations: 24 MB / 336.4 MB, free: 10.85 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_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.002114/0.002114, allocations: 67.91 kB / 471.3 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 59.89 MB / 0.5187 GB, free: 9.496 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.06929/0.3948, allocations: 23.9 MB / 0.5421 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.403, allocations: 5.556 MB / 0.5475 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.4034, allocations: 11.88 kB / 0.5475 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.404, allocations: 140.2 kB / 0.5476 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.4048, allocations: 259 kB / 0.5479 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.4077, allocations: 0.9859 MB / 0.5488 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008586/0.4086, allocations: 0.5074 MB / 0.5493 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.4089, allocations: 163.1 kB / 0.5495 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.4092, allocations: 251.3 kB / 0.5497 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.4097, allocations: 253.6 kB / 0.55 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.4097, allocations: 32 kB / 0.55 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.4114, allocations: 0.5254 MB / 0.5505 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.4115, allocations: 96.8 kB / 0.5506 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.4117, allocations: 167.8 kB / 0.5508 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.414, allocations: 1.09 MB / 0.5518 GB, free: 6.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.414, allocations: 0 / 0.5518 GB, free: 6.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.414, allocations: 0 / 0.5518 GB, free: 6.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.414, allocations: 0 / 0.5518 GB, free: 6.48 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.001302/0.4153, allocations: 0.7312 MB / 0.5526 GB, free: 5.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4153, allocations: 8.031 kB / 0.5526 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.912e-05/0.4154, allocations: 71.59 kB / 0.5526 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.416, allocations: 114.5 kB / 0.5527 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.4166, allocations: 317.6 kB / 0.553 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.4166, allocations: 21.03 kB / 0.5531 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.4167, allocations: 27.94 kB / 0.5531 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.4175, allocations: 447.7 kB / 0.5535 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4175, allocations: 0.5625 kB / 0.5535 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.4175, allocations: 16 kB / 0.5535 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.4175, allocations: 8 kB / 0.5535 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.4185, allocations: 0.5691 MB / 0.5541 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.4212, allocations: 1.687 MB / 0.5557 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.4215, allocations: 128.9 kB / 0.5559 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.4217, allocations: 76.31 kB / 0.5559 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.4237, allocations: 0.9148 MB / 0.5568 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4237, allocations: 35.31 kB / 0.5569 GB, free: 1.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.4237, allocations: 4 kB / 0.5569 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000434/0.4242, allocations: 186.9 kB / 0.557 GB, free: 1.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4242, allocations: 55.44 kB / 0.5571 GB, free: 1.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.4248, allocations: 447.9 kB / 0.5575 GB, free: 1.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4248, allocations: 25.7 kB / 0.5576 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.4251, allocations: 266.3 kB / 0.5578 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.4251, allocations: 43.34 kB / 0.5578 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4252, allocations: 80 kB / 0.5579 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4254, allocations: 351.4 kB / 0.5583 GB, free: 332 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.4256, allocations: 67.05 kB / 0.5583 GB, free: 276 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.4259, allocations: 289.8 kB / 0.5586 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.4264, allocations: 388.6 kB / 0.559 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.4264, allocations: 7.938 kB / 0.559 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006841/0.4271, allocations: 389.9 kB / 0.5594 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4271, allocations: 8 kB / 0.5594 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4271, allocations: 12.81 kB / 0.5594 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.4272, allocations: 12 kB / 0.5594 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.4274, allocations: 95.73 kB / 0.5595 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.4275, allocations: 13.77 kB / 0.5595 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4277, allocations: 44.28 kB / 0.5595 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.4278, allocations: 28.73 kB / 0.5596 GB, free: 14.87 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.000187/0.428, allocations: 165.2 kB / 0.5597 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.428, allocations: 39.72 kB / 0.5598 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.4285, allocations: 239.6 kB / 0.56 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4285, allocations: 4.734 kB / 0.56 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4285, allocations: 3.938 kB / 0.56 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4285, allocations: 0 / 0.56 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.4292, allocations: 496.9 kB / 0.5605 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4292, allocations: 4 kB / 0.5605 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.4293, allocations: 5.156 kB / 0.5605 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4293, allocations: 0 / 0.5605 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.4293, allocations: 4.062 kB / 0.5605 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4293, allocations: 4 kB / 0.5605 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4293, allocations: 0.75 kB / 0.5605 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.4294, allocations: 109.3 kB / 0.5606 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.4295, allocations: 47.34 kB / 0.5606 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.4296, allocations: 3.953 kB / 0.5606 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.4297, allocations: 1.031 kB / 0.5606 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.4297, allocations: 4 kB / 0.5606 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.4297, allocations: 0 / 0.5606 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000466/0.4302, allocations: 360.7 kB / 0.561 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4302, allocations: 0 / 0.561 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006814/0.4308, allocations: 183.6 kB / 0.5612 GB, free: 13.26 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.0009705/0.4318, allocations: 0.8535 MB / 0.562 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.4322, allocations: 159.2 kB / 0.5621 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4322, allocations: 4.125 kB / 0.5621 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.4322, allocations: 6.25 kB / 0.5622 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.4327, allocations: 84.34 kB / 0.5622 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/0.4375, allocations: 3.47 MB / 0.5656 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.4377, allocations: 180.6 kB / 0.5658 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.4381, allocations: 106.1 kB / 0.5659 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.4383, allocations: 133.2 kB / 0.566 GB, free: 8.32 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4383, allocations: 0 / 0.566 GB, free: 8.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/0.4818, allocations: 11.39 MB / 0.5771 GB, free: 13.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.03, allocations: 3.859 kB / 0.5771 GB, free: 13.17 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.889108162838966] Failed to read output from testmodel.py, exit status != 0: 12.142147364094853 12.167628733 11.748943889 Calling exit ...