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.0008926/0.0008926, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008908/0.0008908, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8187/0.8187, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.07792/0.07792, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 411.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.07e-05, allocations: 3.344 kB / 411.6 MB, free: 12.45 MB / 330.7 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.0181/0.01812, allocations: 24.16 MB / 435.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.02263, allocations: 5.555 MB / 441.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.02285, allocations: 11.88 kB / 441.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.02322, allocations: 144.6 kB / 441.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.02374, allocations: 275.9 kB / 441.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.02558, allocations: 1.009 MB / 442.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.02609, allocations: 0.518 MB / 443.3 MB, free: 9.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.02631, allocations: 174.8 kB / 443.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.02654, allocations: 320.1 kB / 443.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.02679, allocations: 230 kB / 444 MB, free: 8.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.02682, allocations: 28 kB / 444 MB, free: 8.496 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.02753, allocations: 0.5248 MB / 444.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.02761, allocations: 100.1 kB / 444.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.02772, allocations: 136.8 kB / 444.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.02871, allocations: 1.152 MB / 445.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.02871, allocations: 4.562 kB / 445.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02871, allocations: 0 / 445.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.02872, allocations: 0 / 445.9 MB, free: 6.859 MB / 346.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.0007637/0.02948, allocations: 0.7309 MB / 446.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.02952, allocations: 12.03 kB / 446.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.02957, allocations: 61.5 kB / 446.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.02986, allocations: 118.1 kB / 446.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.03022, allocations: 335.2 kB / 447.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.03023, allocations: 17.03 kB / 447.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.03027, allocations: 24.38 kB / 447.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.0307, allocations: 447.9 kB / 447.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.03071, allocations: 8.562 kB / 447.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.03073, allocations: 12 kB / 447.6 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.03074, allocations: 4 kB / 447.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/0.03129, allocations: 0.5736 MB / 448.2 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.03265, allocations: 1.672 MB / 449.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.03284, allocations: 133 kB / 450 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.03294, allocations: 76.22 kB / 450.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.03415, allocations: 0.9144 MB / 451 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.03416, allocations: 35.69 kB / 451 MB, free: 2.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.03417, allocations: 0 / 451 MB, free: 2.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002635/0.03443, allocations: 186 kB / 451.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.03445, allocations: 51.41 kB / 451.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.03476, allocations: 457.9 kB / 451.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.03477, allocations: 29.7 kB / 451.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.03493, allocations: 266 kB / 452 MB, free: 1.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.03496, allocations: 30.47 kB / 452 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-05/0.03503, allocations: 79.25 kB / 452.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.03512, allocations: 354.4 kB / 452.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.03521, allocations: 67.62 kB / 452.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.03538, allocations: 285.1 kB / 452.8 MB, free: 288 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.03566, allocations: 389 kB / 453.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.03567, allocations: 4 kB / 453.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003884/0.03605, allocations: 394.6 kB / 453.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.03607, allocations: 8 kB / 453.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.03608, allocations: 8 kB / 453.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.03609, allocations: 12 kB / 453.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.03625, allocations: 91.03 kB / 453.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.03626, allocations: 14.09 kB / 453.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.03639, allocations: 52.69 kB / 453.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.03642, allocations: 29.41 kB / 453.8 MB, free: 15.25 MB / 362.7 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.0001086/0.03653, allocations: 160.5 kB / 454 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.03657, allocations: 39.77 kB / 454 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.03684, allocations: 236.5 kB / 454.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.03684, allocations: 3.984 kB / 454.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.03685, allocations: 4 kB / 454.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.03685, allocations: 4.031 kB / 454.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.03717, allocations: 0.4898 MB / 454.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.03717, allocations: 0 / 454.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.03717, allocations: 3.984 kB / 454.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.03718, allocations: 3.938 kB / 454.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.03718, allocations: 4 kB / 454.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.03718, allocations: 3.938 kB / 454.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03718, allocations: 0 / 454.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.03726, allocations: 100.9 kB / 454.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.0373, allocations: 43.7 kB / 454.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.03732, allocations: 8 kB / 454.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.03737, allocations: 7.938 kB / 454.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.03738, allocations: 0 / 454.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.03738, allocations: 0 / 454.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000247/0.03763, allocations: 362.8 kB / 455.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03763, allocations: 3.938 kB / 455.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000335/0.03796, allocations: 179.4 kB / 455.4 MB, free: 13.53 MB / 362.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 (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.0004877/0.03845, allocations: 0.8541 MB / 456.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.03864, allocations: 155.8 kB / 456.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.03864, allocations: 1.938 kB / 456.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.03865, allocations: 11.98 kB / 456.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.03894, allocations: 97.62 kB / 456.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.04148, allocations: 3.426 MB / 460 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.722e-05/0.04158, allocations: 189.1 kB / 460.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.04177, allocations: 103 kB / 460.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.04189, allocations: 128.5 kB / 460.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04189, allocations: 0 / 460.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.06154, allocations: 11.52 MB / 471.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.409/6.47, allocations: 11.25 kB / 471.9 MB, free: 12.88 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.291827395558357] Failed to read output from testmodel.py, exit status != 0: 6.679911916144192 6.562952485 6.532349463 Calling exit ...