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.001402/0.001402, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001611/0.001611, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.1349/0.1349, allocations: 17.45 MB / 276.6 MB, free: 15.21 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: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.551e-05, allocations: 2.281 kB / 412.1 MB, free: 4.281 MB / 334.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.03414/0.03417, allocations: 24.18 MB / 436.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.0425, allocations: 5.557 MB / 441.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.04291, allocations: 15.88 kB / 441.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.04349, allocations: 142.8 kB / 442 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009091/0.0444, allocations: 269.8 kB / 442.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.047, allocations: 1.013 MB / 443.3 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008216/0.04782, allocations: 0.5291 MB / 443.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.04812, allocations: 168.9 kB / 444 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.04851, allocations: 319.4 kB / 444.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003926/0.0489, allocations: 231.4 kB / 444.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.04897, allocations: 28 kB / 444.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.05024, allocations: 0.5263 MB / 445.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.05039, allocations: 95.59 kB / 445.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.05057, allocations: 139.7 kB / 445.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.05233, allocations: 1.156 MB / 446.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.05233, allocations: 0 / 446.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05234, allocations: 0 / 446.5 MB, free: 2.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.05234, allocations: 0 / 446.5 MB, free: 2.027 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.001238/0.05358, allocations: 0.7261 MB / 447.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.05362, allocations: 8.031 kB / 447.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.05421, allocations: 116.3 kB / 447.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.05479, allocations: 333.5 kB / 447.6 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.05481, allocations: 21.03 kB / 447.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.05487, allocations: 24.38 kB / 447.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.05557, allocations: 451.9 kB / 448.1 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.05558, allocations: 7.938 kB / 448.1 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.05563, allocations: 15.98 kB / 448.1 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.05564, allocations: 8 kB / 448.1 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1741/0.2297, allocations: 0.5634 MB / 448.7 MB, free: 44.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.2318, allocations: 1.602 MB / 450.3 MB, free: 43.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.2321, allocations: 132.9 kB / 450.4 MB, free: 43.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2322, allocations: 79.84 kB / 450.5 MB, free: 42.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.2341, allocations: 0.9144 MB / 451.4 MB, free: 42.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.2341, allocations: 33.69 kB / 451.5 MB, free: 42.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2341, allocations: 0 / 451.5 MB, free: 42.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004051/0.2345, allocations: 181.4 kB / 451.6 MB, free: 42.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.2345, allocations: 52.53 kB / 451.7 MB, free: 42.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.2349, allocations: 408.6 kB / 452.1 MB, free: 42.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2349, allocations: 25.7 kB / 452.1 MB, free: 42.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2351, allocations: 277.2 kB / 452.4 MB, free: 41.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2351, allocations: 40.17 kB / 452.4 MB, free: 41.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.2352, allocations: 77.05 kB / 452.5 MB, free: 41.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.2353, allocations: 349.6 kB / 452.8 MB, free: 41.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2354, allocations: 65.55 kB / 452.9 MB, free: 41.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.2356, allocations: 292.1 kB / 453.2 MB, free: 41.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2359, allocations: 388.9 kB / 453.6 MB, free: 40.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2359, allocations: 2.406 kB / 453.6 MB, free: 40.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005649/0.2365, allocations: 389.5 kB / 454 MB, free: 40.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.2365, allocations: 10.56 kB / 454 MB, free: 40.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2365, allocations: 8.719 kB / 454 MB, free: 40.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.2366, allocations: 10 kB / 454 MB, free: 40.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.2368, allocations: 90.89 kB / 454.1 MB, free: 40.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.2369, allocations: 12.38 kB / 454.1 MB, free: 40.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2371, allocations: 38.84 kB / 454.1 MB, free: 40.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.2372, allocations: 26.67 kB / 454.2 MB, free: 40.69 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.0001467/0.2373, allocations: 172.6 kB / 454.3 MB, free: 40.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.2374, allocations: 31.84 kB / 454.4 MB, free: 40.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.2378, allocations: 235.8 kB / 454.6 MB, free: 40.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2378, allocations: 3.312 kB / 454.6 MB, free: 40.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2378, allocations: 1.125 kB / 454.6 MB, free: 40.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2378, allocations: 1.5 kB / 454.6 MB, free: 40.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.2383, allocations: 458.5 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2383, allocations: 1.766 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.2383, allocations: 1.812 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2383, allocations: 1.125 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2383, allocations: 2.656 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2383, allocations: 1.125 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2383, allocations: 1.828 kB / 455 MB, free: 40.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.2384, allocations: 112.7 kB / 455.2 MB, free: 39.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.2385, allocations: 31.16 kB / 455.2 MB, free: 39.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.2385, allocations: 5.016 kB / 455.2 MB, free: 39.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.2386, allocations: 4.453 kB / 455.2 MB, free: 39.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.2386, allocations: 3.188 kB / 455.2 MB, free: 39.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2386, allocations: 5.125 kB / 455.2 MB, free: 39.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003338/0.239, allocations: 308.5 kB / 455.5 MB, free: 39.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.239, allocations: 1.188 kB / 455.5 MB, free: 39.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006304/0.2396, allocations: 181.7 kB / 455.7 MB, free: 39.72 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.000545/0.2401, allocations: 311 kB / 456 MB, free: 39.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.2405, allocations: 159.7 kB / 456.1 MB, free: 39.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2405, allocations: 5.281 kB / 456.1 MB, free: 39.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.2405, allocations: 13.98 kB / 456.2 MB, free: 39.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.241, allocations: 73.84 kB / 456.2 MB, free: 39.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008022/0.2418, allocations: 0.5084 MB / 456.7 MB, free: 39.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2419, allocations: 181.5 kB / 456.9 MB, free: 39.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.2422, allocations: 95.3 kB / 457 MB, free: 39.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.2422, allocations: 43.53 kB / 457.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2422, allocations: 1.344 kB / 457.1 MB, free: 39.11 MB / 366.1 MB Notification: Performance of Templates: time 0.0125/0.2547, allocations: 6.12 MB / 463.2 MB, free: 38.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.712314527481794] Failed to read output from testmodel.py, exit status != 0: 0.26350902020931244 0.273749927 0.219047084 Calling exit ...