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.0008163/0.0008163, 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.0007822/0.0007822, 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.8794/0.8794, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.08245/0.08245, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 411.5 MB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.488e-05, allocations: 6.281 kB / 411.5 MB, free: 416 kB / 378.7 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.02046/0.02047, allocations: 24.14 MB / 435.6 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.0249, allocations: 5.553 MB / 441.2 MB, free: 2.773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.02512, allocations: 15.88 kB / 441.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.0255, allocations: 142.8 kB / 441.3 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.02602, allocations: 265.8 kB / 441.6 MB, free: 2.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.02753, allocations: 1.013 MB / 442.6 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.02803, allocations: 0.5253 MB / 443.1 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.02827, allocations: 168.9 kB / 443.3 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.02851, allocations: 323.4 kB / 443.6 MB, free: 328 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.02877, allocations: 223.5 kB / 443.8 MB, free: 104 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.02882, allocations: 28 kB / 443.8 MB, free: 76 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1696/0.1984, allocations: 0.5288 MB / 444.4 MB, free: 60.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1985, allocations: 94.58 kB / 444.5 MB, free: 60.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1987, allocations: 142 kB / 444.6 MB, free: 60.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.2003, allocations: 1.142 MB / 445.7 MB, free: 60.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2004, allocations: 7.656 kB / 445.7 MB, free: 60.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2004, allocations: 0 / 445.7 MB, free: 60.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2004, allocations: 4.906 kB / 445.7 MB, free: 60.32 MB / 410.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.0007869/0.2012, allocations: 0.7288 MB / 446.5 MB, free: 59.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2012, allocations: 9.812 kB / 446.5 MB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.2012, allocations: 62.91 kB / 446.5 MB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2015, allocations: 111.6 kB / 446.7 MB, free: 59.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.2019, allocations: 335.2 kB / 447 MB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2019, allocations: 21.84 kB / 447 MB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.2019, allocations: 26.94 kB / 447 MB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.2023, allocations: 441.9 kB / 447.5 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2023, allocations: 0 / 447.5 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2023, allocations: 18.95 kB / 447.5 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2023, allocations: 6.406 kB / 447.5 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.2028, allocations: 0.5741 MB / 448.1 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2039, allocations: 1.664 MB / 449.7 MB, free: 58.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2041, allocations: 132.3 kB / 449.9 MB, free: 58.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.2042, allocations: 77.23 kB / 449.9 MB, free: 58.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008916/0.2051, allocations: 0.9175 MB / 450.8 MB, free: 58.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.032e-05/0.2051, allocations: 30.56 kB / 450.9 MB, free: 58.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.2051, allocations: 0 / 450.9 MB, free: 58.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002595/0.2054, allocations: 185.5 kB / 451.1 MB, free: 58.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.2054, allocations: 54.66 kB / 451.1 MB, free: 58.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2056, allocations: 453.7 kB / 451.6 MB, free: 57.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.2057, allocations: 27.98 kB / 451.6 MB, free: 57.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.2057, allocations: 265.8 kB / 451.8 MB, free: 57.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.2058, allocations: 38.02 kB / 451.9 MB, free: 57.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.2058, allocations: 81.39 kB / 452 MB, free: 57.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.2059, allocations: 356 kB / 452.3 MB, free: 57.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.2059, allocations: 74.83 kB / 452.4 MB, free: 57.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2061, allocations: 283.1 kB / 452.7 MB, free: 57.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.2063, allocations: 385.7 kB / 453 MB, free: 56.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2063, allocations: 2.906 kB / 453 MB, free: 56.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003195/0.2066, allocations: 391.9 kB / 453.4 MB, free: 56.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2066, allocations: 12.47 kB / 453.4 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2066, allocations: 6.375 kB / 453.4 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2066, allocations: 13.03 kB / 453.5 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.2068, allocations: 91.69 kB / 453.5 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2068, allocations: 12.03 kB / 453.6 MB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2069, allocations: 47.94 kB / 453.6 MB, free: 56.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.2069, allocations: 31.83 kB / 453.6 MB, free: 56.53 MB / 410.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 8.815e-05/0.207, allocations: 167.1 kB / 453.8 MB, free: 56.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.2071, allocations: 35.45 kB / 453.8 MB, free: 56.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.2073, allocations: 244.8 kB / 454.1 MB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2073, allocations: 2.594 kB / 454.1 MB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2073, allocations: 0 / 454.1 MB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2073, allocations: 0 / 454.1 MB, free: 56.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2075, allocations: 0.4913 MB / 454.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2075, allocations: 0 / 454.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-06/0.2075, allocations: 9.031 kB / 454.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2075, allocations: 0 / 454.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.2076, allocations: 2.656 kB / 454.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2076, allocations: 0 / 454.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2076, allocations: 3.938 kB / 454.6 MB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.974e-05/0.2076, allocations: 104 kB / 454.7 MB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.2076, allocations: 45.33 kB / 454.7 MB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2077, allocations: 3.562 kB / 454.7 MB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.2077, allocations: 9.266 kB / 454.7 MB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.2077, allocations: 3.938 kB / 454.7 MB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2077, allocations: 0.8125 kB / 454.7 MB, free: 55.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.2079, allocations: 360.3 kB / 455.1 MB, free: 55.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2079, allocations: 0 / 455.1 MB, free: 55.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.2083, allocations: 179.3 kB / 455.3 MB, free: 55.47 MB / 410.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.0004256/0.2087, allocations: 0.8496 MB / 456.1 MB, free: 54.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.2089, allocations: 155.8 kB / 456.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2089, allocations: 2.656 kB / 456.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.2089, allocations: 7.25 kB / 456.3 MB, free: 54.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.2092, allocations: 94.58 kB / 456.4 MB, free: 54.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2112, allocations: 3.442 MB / 459.8 MB, free: 52.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.07e-05/0.2113, allocations: 177.8 kB / 460 MB, free: 52.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2115, allocations: 105.9 kB / 460.1 MB, free: 52.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.2116, allocations: 133.9 kB / 460.2 MB, free: 52.25 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2116, allocations: 0 / 460.2 MB, free: 52.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2318, allocations: 11.51 MB / 471.7 MB, free: 51.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.232, allocations: 9.172 kB / 471.7 MB, free: 51 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.037101852707565] Failed to read output from testmodel.py, exit status != 0: 7.317325592041016 7.329240676 7.126278693 Calling exit ...